django - DJANGO_PATH errors and settings issues -
i upgraded ubuntu 14.04, , consulted question solve erros, importerror: no module named _io in ubuntu 14.04. solved perfectly.
i checked out question it's similar mine, consistently getting importerror: not import settings 'myapp.settings' error, not use same solution.
i not use manage.py in project , have done numerous exports of python_path no end of issues. here traceback;
traceback (most recent call last): file "/home/thabang/.virtualenvs/lottostar/bin/django-admin.py", line 5, in <module> management.execute_from_command_line() file "/home/thabang/.virtualenvs/lottostar/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line utility.execute() file "/home/thabang/.virtualenvs/lottostar/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) file "/home/thabang/.virtualenvs/lottostar/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command commands = get_commands() file "/home/thabang/.virtualenvs/lottostar/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 107, in get_commands apps = settings.installed_apps file "/home/thabang/.virtualenvs/lottostar/local/lib/python2.7/site-packages/django/conf/__init__.py", line 54, in __getattr__ self._setup(name) file "/home/thabang/.virtualenvs/lottostar/local/lib/python2.7/site-packages/django/conf/__init__.py", line 49, in _setup self._wrapped = settings(settings_module) file "/home/thabang/.virtualenvs/lottostar/local/lib/python2.7/site-packages/django/conf/__init__.py", line 132, in __init__ % (self.settings_module, e) importerror: not import settings 'lottostar.settings' (is on sys.path? there import error in settings file?): no module named lottostar.settings
i found problem:
the issue egg files during virtualenv reinstall. though programs there, couldn't found. performed install of requirements refresh egg info.
Comments
Post a Comment