I’m trying to access my classes via
from project import *
But from the python console something seems to be off with the paths. How do I set the correct paths to my project so I can import classes?
My models are stored in:
/Users/username/project/project/model
from project import *
And the error reads:
ImportError: No module named project
Thanks.
You have the following choices
from project.project import *setenv PYTHONPATH /User/username/project)import syssys.path.append('/User/username/project')