Auto-configured PYTHONPATH uses incorrect case on Windows
Brought to you by:
fabioz
This is using PyDev 2.2.1 on Windows XP.
When clicking the Auto Configure button for the Python interpreter, the last item added to the System PYTHONPATH is C:\Python27\lib\site-packages. It should be C:\Python27\Lib\site-packages- note the L in Lib is capitalised.
In trying to use SQLAlchemy, I had previously been getting lots of Import Errors in the IDE, despite everything going fine when I actually ran the script. Fixing the Lib\site-packages item and restarting Eclipse (File->Restart) fixed this for me.
I should note that Jython does not do this- the case is correct.
I confirm the bug, also this should have bigger priority.
The case is *incorrect*, all versions of Python do have the "Lib" directory, not "lib".
Actually, in windows, that shouldn't be an issue (even with the lowercase 'L' it should work).
The actual issue seems to be a cache issue. Although I've experienced it once here I still can't reproduce it reliably, so, it's still not fixed...
Note that just adding/removing the interpreter and restarting Eclipse (as you did) makes all things 'right' again.