|
发表于 2022-12-12 14:38:14
|
显示全部楼层
Traceback (most recent call last):
File "/home/filecodebox/main.py", line 9, in <module>
from fastapi import FastAPI, Depends, UploadFile, Form, File
ModuleNotFoundError: No module named 'fastapi'
Traceback (most recent call last):
File "/home/filecodebox/main.py", line 36, in <module>
index_html = open('templates/index.html', 'r', encoding='utf-8').read() \
FileNotFoundError: [Errno 2] No such file or directory: 'templates/index.html'
Traceback (most recent call last):
File "/home/filecodebox/main.py", line 36, in <module>
index_html = open('templates/index.html', 'r', encoding='utf-8').read() \
FileNotFoundError: [Errno 2] No such file or directory: 'templates/index.html'
部署有点麻烦,中文版的Python Manager,设置也不一样,没有端口
|
|