R
Railway9mo ago
Abdi

FastApi not running

I am trying to run a fastapi on render and it deploys but crashed when I make a post to it. can someone helpe?
Solution:
please use the headless version of open cv instead
Jump to solution
14 Replies
Percy
Percy9mo ago
Project ID: N/A
Abdi
AbdiOP9mo ago
how can i do that in brave browser?
Brody
Brody9mo ago
follow the 3 instructions
Abdi
AbdiOP9mo ago
I used chrome and here it is :
Abdi
AbdiOP9mo ago
here is my requirements.txt: python-multipart fastapi scikit-image firebase-admin opencv-python numpy uvicorn requests
Solution
Brody
Brody9mo ago
please use the headless version of open cv instead
Abdi
AbdiOP9mo ago
what would it look like?
Abdi
AbdiOP9mo ago
PyPI
opencv-python-headless
Wrapper package for OpenCV python bindings.
Brody
Brody9mo ago
yep that's it
Abdi
AbdiOP9mo ago
sorry my english is not that good it functions the same right?
Brody
Brody9mo ago
it should
Abdi
AbdiOP9mo ago
I will update and let you know if it works it works thank you so much @Brody
Brody
Brody9mo ago
no problem!
Want results from more Discord servers?
Add your server