|
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,设置也不一样,没有端口
![](https://pic2.58cdn.com.cn/nowater/webim/big/n_v28d9a7604895d4f5c94d8554c7e4b9711.png) |
|