我在debug=True及其内置的超级玉米服务器上使用夸脱(Flask异步),但是每次我保存一个文件并尝试重新启动应用程序时,我会得到:
C:\Users\myusername.virtualenvs\App-GtW9WS3s\Scripts\python.exe:无法在'C:\Users\myusername\OneDrive‘中找到'__main__’模块
我认为这与超级玉米有关,但老实说,它可能是任何东西,关于这个错误的问题有很多不同的解决方案。
我在Windows 10中运行Pipenv不值钱。
run.py:
from app import app as application
application.run(debug=True, host="gabriel.corp.carusojrea.com.br")app/_init__..py:
from quart import Quart
app = Quart('__main__')
from app import viewshttps://stackoverflow.com/questions/57119099
复制相似问题