#28134: Python 3.6 Django 1.11 manage.py" (I'm unable to add apps)
-------------------------------+--------------------------------------
Reporter: Eljo | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 1.11
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Tim Graham):
* status: new => closed
* resolution: => invalid
Old description:
> What's wrong? can someone help me?
>
> In the settings.py (INSTALLED_APPS) I'm unable to add apps.!!
>
> C:\Users\Administrator\PycharmProjects\website>python manage.py
> makemigrations
> Traceback (most recent call last):
> File "manage.py", line 22, in <module>
> execute_from_command_line(sys.argv)
> File
> "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
> \site-packages\django\core\management\__init__.py", line 363, in
> execute_from_command_line
> utility.execute()
> File
> "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
> \site-packages\django\core\management\__init__.py", line 337, in execute
> django.setup()
> File
> "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
> \site-packages\django\__init__.py", line 27, in setup
> apps.populate(settings.INSTALLED_APPS)
> File
> "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
> \site-packages\django\apps\registry.py", line 85, in populate
> app_config = AppConfig.create(entry)
> File
> "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
> \site-packages\django\apps\config.py", line 120, in create
> mod = import_module(mod_path)
> File
> "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\importlib\__init__.py",
> line 126, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> File "<frozen importlib._bootstrap>", line 978, in _gcd_import
> File "<frozen importlib._bootstrap>", line 961, in _find_and_load
> File "<frozen importlib._bootstrap>", line 936, in
> _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 205, in
> _call_with_frames_removed
> File "<frozen importlib._bootstrap>", line 978, in _gcd_import
> File "<frozen importlib._bootstrap>", line 961, in _find_and_load
> File "<frozen importlib._bootstrap>", line 948, in
> _find_and_load_unlocked
> ModuleNotFoundError: No module named 'rest_frameworkcompanies'
New description:
What's wrong? can someone help me?
In the settings.py (INSTALLED_APPS) I'm unable to add apps.!!
{{{
C:\Users\Administrator\PycharmProjects\website>python manage.py
makemigrations
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
\site-packages\django\core\management\__init__.py", line 363, in
execute_from_command_line
utility.execute()
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
\site-packages\django\core\management\__init__.py", line 337, in execute
django.setup()
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
\site-packages\django\__init__.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
\site-packages\django\apps\registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib
\site-packages\django\apps\config.py", line 120, in create
mod = import_module(mod_path)
File
"C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\lib\importlib\__init__.py",
line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 936, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 205, in
_call_with_frames_removed
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 948, in
_find_and_load_unlocked
ModuleNotFoundError: No module named 'rest_frameworkcompanies'
}}}
--
Comment:
Please see TicketClosingReasons/UseSupportChannels for ways to get help.
--
Ticket URL: <https://code.djangoproject.com/ticket/28134#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.f1f9e744aaa8ce23e88105946ac04113%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.