You are here

ImportError: DLL load failed:

8 posts / 0 new
Last post
ImportError: DLL load failed:
#1

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?

Post Situation: 
Fri, 2013-08-09 09:58
peony

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.

Fri, 2013-08-09 11:08
smlewis

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.

Fri, 2013-08-09 11:25
Sergey

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

Sat, 2013-08-10 05:57
peony

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

Fri, 2015-01-09 06:59
lanselibai

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-pyth...

Fri, 2015-01-09 08:12
jadolfbr

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. :)

Fri, 2015-01-09 13:10
lanselibai

Awesome Cheng! Glad to hear!!

Fri, 2015-01-09 13:49
jadolfbr