You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm new with Azure webapps and i'm trying to create a webservice that uses OpenCV libraries in Python and prints out some results.
So far, I have the webapp created, and in my folder I have the file: application.py which only returns the string "hello" and imports the packages, the file: requirements.txt which installs Numpy, Keras, Opencv-python, etc correctly, and the folder of the environment /env.
Everything works fine if in the application.py I import other python files, and flask, pandas, numpy, etc but not when I write import cv2.
Also, I've tried to run it locally and it runs correctly.
Have I missed any step when installing OpenCV?
Thanks for your help
The text was updated successfully, but these errors were encountered:
Have you tried going through the logs and checking what is the error message?
It would strongly help to identify the cause.
You should be able to find logs folder somewhere in your application directory.
Any answer? I have the same problem. Everything is fine if run locally, but when it is deployed to Azure the webpage display "application error" while in the logs there is "libgthread-2.0.so.0: cannot open shared object file: No such file or directory azure"
Hello,
I'm new with Azure webapps and i'm trying to create a webservice that uses OpenCV libraries in Python and prints out some results.
So far, I have the webapp created, and in my folder I have the file: application.py which only returns the string "hello" and imports the packages, the file: requirements.txt which installs Numpy, Keras, Opencv-python, etc correctly, and the folder of the environment /env.
Everything works fine if in the application.py I import other python files, and flask, pandas, numpy, etc but not when I write import cv2.
Also, I've tried to run it locally and it runs correctly.
Have I missed any step when installing OpenCV?
Thanks for your help
The text was updated successfully, but these errors were encountered: