Wednesday, September 18, 2013

Path exists in sys.path but still gives module not found error in Python

Path exists in sys.path but still gives module not found error in Python

So, I print the sys.path in the python terminal inside the working python
project directory, and find the directory there. I've also put in a
init.py in the directory, too
But when I do a import directoryname, I get a module not found error.
Where can I possibly be going wrong?

No comments:

Post a Comment