Guys, I created a sample project but I am not able to make it work with Python: Glitch :･ﾟ✧
Hi @arnonrdp, to make sure it will run automatically simply create a file called
start.sh and insert the following:
Hope this helps!
$ python3 app.py
Traceback (most recent call last):
File "app.py", line 1, in <module>
ModuleNotFoundError: No module named 'uvicorn'
To fix this, add a file called
requirements.txt and add the following:
I looked at the fastapi docs and it said this would be the best one to use as it includes uvicorn as standard.
Then change your
start.sh file so it looks like this:
pip3 install -r requirments.txt
hopefully this will work.
Thank you very much @random
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.