0
Hallo Ich mache ein Django (Python) -Projekt während der Ausführung des Projekts habe ich diesen Fehler. Ich weiß nicht, was der Fehler ist und wie er gelöst werden kann.Fehler beim Ausführen von Django-Projekt
C:\Users\SujanRajs\Desktop\YAAS-master\YAAS-master\usatyal\YAAS>python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "C:\Python27\lib\site-packages\django-1.8.4- py2.7.egg\django\core\management\__init__.py", line 338, in execute_from_command_line
utility.execute()
File "C:\Python27\lib\site-packages\django-1.8.4-py2.7.egg\django\core\management\__init__.py", line 303, in execute
settings.INSTALLED_APPS
File "C:\Python27\lib\site-packages\django-1.8.4-py2.7.egg\django\conf\__init__.py", line 48, in __getattr__
self._setup(name)
File "C:\Python27\lib\site-packages\django-1.8.4-py2.7.egg\django\conf\__init__.py", line 44, in _setup
self._wrapped = Settings(settings_module)
File "C:\Python27\lib\site-packages\django-1.8.4-py2.7.egg\django\conf\__init__.py", line 92, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "C:\Python27\lib\importlib\__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named YAAS.settings
sein Was ist Ihre Projektstruktur? – ettanany
@ettanany Das Projekt ist eine Webanwendung, die auf Django-Frame-Arbeit mit Python basiert. Im Projekt geht es um YaaS, wo der Benutzer bieten kann, eine Auktion macht und ein Administrator eine Auktion durchführen oder löschen kann und einige andere Funktionen. – gudzan
Erhalten Sie den gleichen Fehler, wenn Sie 'von YAAS-Importeinstellungen' oder' YAAS.settings importieren' von einer Python-Konsole versuchen? – ettanany