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_line
utility.execute()
File
"/home2/victorko/virtualenv/app/3.4/lib/python3.4/site-packages/django/core/management/__init__.py",
line 308, in execute
settings.INSTALLED_APPS
File
"/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 _setup
self._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_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2212, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 321, in
_call_with_frames_removed
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2224, in
_find_and_load_unlocked
ImportError: 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+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto: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
<https://groups.google.com/d/msgid/django-users/3cf5b8f8-dcdc-4827-9af6-0878fb33ce22%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/
--
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+unsubscr...@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/a185d63f-4d41-68b5-9829-969a957a6594%40yandex.com.
For more options, visit https://groups.google.com/d/optout.