Reputation: 27004
I work in PyDev and quite suddenly, I cannot run my python programs from within Eclipse's PyDev (version 2.1.0) anymore.
Any python program I have ran through Run As > Python Run fails wioth
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "C:\Python32\lib\io.py", line 60, in <module>
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
c:\python32
(defined in the environment variable PYTHONPATH
)Any idea?
Upvotes: 1
Views: 2014
Reputation: 27004
I have finally found out where the problem came from: I had a file called stat.py
and this is apparently creating a conflict with Lib/stat.py
Unfortunately the error message was very obscure. And I just don't understand why pyDev behaves differently than python.exe
Upvotes: 1