0

anytime i add a directory in a .pth file of my c:\python30\Lib\site-packages folder on windows and i try to import from the listed directory in my .pth files, i get an import error that the module does not exist and after importing sys on the windows command line interface and running a sys.path command, the listed directory in my .pth file does not appear in the sys.path list

4
Contributors
3
Replies
4
Views
4 Years
Discussion Span
Last Post by ZZucker
0

Check sys.path and see if it contains site-packages. Maybe you mean dist-packages in stead.

0

Look at something like
PIL.pth
the PIL package directory and it's
__init__.py file

Edited by ZZucker

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.