Opened 8 years ago
Last modified 8 years ago
#28134 closed Uncategorized
Python 3.6 Django 1.11 manage.py" (I'm unable to add apps) — at Initial Version
Reported by: | Eljo | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.11 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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'