After migrating to Django 1.4, I get the following error message:
raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e)) ImportError: Could not import settings 'settings.py' (Is it on sys.path?): No module named py
I read that this might have something to do with pydev 2.4, for example: here , so I updated pydev to the latest version, 2.5. I am using eclipse indigo.
I started to look at the running work and noticed that the django 1.3 egg is still referenced. Therefore, I switched to windows / preferences / pydev / interpreter-python, and in the 1.3th pit was mentioned in the path of the PYTHON system.
To fix this, I removed the existing python interpreter and added a new one again. My python starts from venv, so I added this. An error has occurred:
I don't think this is related, but I see that / venv / lib appears in the System PYTHONPATH list, whereas on Windows the folder is called / venv / Lib, so I added it as well. However, the new django egg was not included, so I manually added it to the Libraries window.
However, I still get the error message.
The application works fine from the command line.
Taras source share