Hi,
Perhaps you need to set PYTHONPATH to the location where your app module is located.
HTH
Etienne
Le 2017-12-13 à 01:54, Виктор Копылец a écrit :
I buy hosting and create project. Then i decided create app. I write python manage.py startapp webapp and jumps out error :--
Traceback (most recent call last):File "manage.py", line 22, in <module>execute_from_command_line(sys.argv)File "/home2/victorko/virtualenv/app/3.4/lib/python3.4/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_lineutility.execute()File "/home2/victorko/virtualenv/app/3.4/lib/python3.4/site-packages/django/core/management/__init__.py", line 308, in executesettings.INSTALLED_APPSFile "/home2/victorko/virtualenv/app/3.4/lib/python3.4/site-packages/django/conf/__init__.py", line 56, in __getattr__self._setup(name)File "/home2/victorko/virtualenv/app/3.4/lib/python3.4/site-packages/django/conf/__init__.py", line 41, in _setupself._wrapped = Settings(settings_module)File "/home2/victorko/virtualenv/app/3.4/lib/python3.4/site-packages/django/conf/__init__.py", line 110, in __init__mod = importlib.import_module(self.SETTINGS_MODULE)File "/home2/victorko/virtualenv/app/3.4/lib64/python3.4/importlib/__init__.py", line 109, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)File "<frozen importlib._bootstrap>", line 2254, in _gcd_importFile "<frozen importlib._bootstrap>", line 2237, in _find_and_loadFile "<frozen importlib._bootstrap>", line 2212, in _find_and_load_unlockedFile "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removedFile "<frozen importlib._bootstrap>", line 2254, in _gcd_importFile "<frozen importlib._bootstrap>", line 2237, in _find_and_loadFile "<frozen importlib._bootstrap>", line 2224, in _find_and_load_unlockedImportError: No module named 'app.app'
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3cf5b8f8-dcdc-4827-9af6-0878fb33ce22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Etienne Robillard tkadm30@yandex.com https://www.isotopesoftware.ca/
No comments:
Post a Comment