Ich habe Python 2.7 neben meinem Mac installiert. Ich habe ein Projekt mit Django v1.9.4 ausgeführt. Leider manage.py runserver
wirft einen Fehler beim Ausführen fehlgeschlagen, da es keine Module namens Dienste gefunden werden konnte.ImportError: Kein Modul namens Dienste Django
Von einer Shell:
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
utility.execute()
File "/Library/Python/2.7/site-packages/django/core/management/__init__.py", line 327, in execute
django.setup()
File "/Library/Python/2.7/site-packages/django/__init__.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Library/Python/2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/Library/Python/2.7/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named services
Ich frage mich, was hier getan werden sollte, um dieses Modul zu installieren.
Was Ihr nicht 'settings.INSTALLED_APPS' aussehen? –