ImportError: DLL load failed:

Member Site Forums PyRosetta PyRosetta – Build/Install ImportError: DLL load failed:

Viewing 3 reply threads
  • Author
    Posts
    • #1690
      Anonymous

        Hey guys

        I’ve recently reinstalled python . Currently I have x64 version. Before that I have a module that was running correctly by idle. Now when I am trying to run module there is an error ImportError: DLL load failed: %1 nie jest prawidłową aplikacją systemu Win32. there is a problem with the line :
        from rosetta import*
        What has happened and how can I fix it?

      • #9192
        Anonymous

          I have a vague memory that Sergey may have changed something about pyrosetta importing recently (import * was using too much memory?) but I can’t find the email, so I’ve forwarded this to him.

        • #9193
          Anonymous

            Peony, Python version /bit-width have to match PyRosetta version, so most likely you will need to re-install old version of Python or just re-install PyRosetta package.

          • #10754
            Anonymous

              Hi Friends,
              I now have the save issue as well. I do not know why PyRosetta cannot work as it worked fine for me.

              After typing “from rosetta import *”, I have been told:

              ImportError Traceback (most reccent call last) (ipython-input-1-b53d8db2e37c) in (module)()—-> 1 from rosetta import *
              ImportError: DLL load failed: %1 is not a valid Win32 application.

              I am pretty sure I installed python 32bit instead of 64 bit. I also re-install the python 32 bit (2.7.9 version). In addition, the python itself works fine as it can run module through the IDLE text editor.

              So is there something I can do to use PyRosetta?

              Thank you.

              Yours sincerely
              Cheng

            • #9200
              Anonymous

                ok, that might be a reason of my problem indeed

                however is it possible to have PyRosetta x64 win? I really need the Python x64 win, and I guess I need for that the same version of PyRosetta

              • #10755
                Anonymous

                  I would check to make sure the python that you installed is actually the python that is being called. Many times on windows platforms, you think you installed system-level things, but in fact it installed it to some other random place. http://stackoverflow.com/questions/1405913/how-do-i-determine-if-my-python-shell-is-executing-in-32bit-or-64bit-mode-on-os

                • #10759
                  Anonymous

                    Hi jadolfbr,
                    Thank you very much. I know what is my problem now. I was using PyRosetta 64 bit but installed pyhon 32 bit. Now I make them both 64 bit and it works fine now. :)

                  • #10760
                    Anonymous

                      Awesome Cheng! Glad to hear!!

                  Viewing 3 reply threads
                  • You must be logged in to reply to this topic.