Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencv-webapp-on-azure #4

Open
iperez-pasiona opened this issue Nov 5, 2018 · 4 comments
Open

opencv-webapp-on-azure #4

iperez-pasiona opened this issue Nov 5, 2018 · 4 comments
Labels

Comments

@iperez-pasiona
Copy link

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

@karolzak
Copy link
Owner

Hi @iperez-pasiona

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.

@shadyshrif
Copy link

I have the same issue; the error message is:
libgthread-2.0.so.0: cannot open shared object file: No such file or directory azure

@marcelloexp386
Copy link

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"

@SivinX11
Copy link

SivinX11 commented Oct 9, 2020

Yes, even I'm getting this libgthread issue... Can anyone solve this or any solution references?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants