如何修复Django Runserver错误:__path__和进程?

时间:2019-05-09 10:05:01

标签: django

我使用Django 2.1.1版。

我要修复此错误:

(myvenv) C:\Python373\mywebsite\myvenv\Scripts\mysite>python -m manage.py runserver
C:\Python373\mywebsite\myvenv\Scripts\python.exe: Error while finding module specification for 'manage.py' (ModuleNotFoundError: __path__ attribute not found on 'manage' while trying to find 'manage.py')

(myvenv) C:\Python373\mywebsite\myvenv\Scripts\mysite>django-admin runserver
Fatal error in launcher: Unable to create process using '"'

0 个答案:

没有答案