py-opencv import error in Bash for Windows 10
Hello,
I installed py-opencv
using the following command on Bash for Windows 10:
conda install -c conda-forge opencv
I try importing cv2
in my Python3 interpreter and get the following error:
ImportError: libopencv_reg.so.3.1: cannot enable executable stack as shared object requires: Invalid argument
This works fine in regular Ubuntu but for some reason it doesn't work in Bash for Windows 10. If anyone has a work around it would be much appreciated!
Hmm keep in mind that bash and windows 10 are still not fully functional and does not provide the same functionality as in Ubuntu. That is why installing OpenCV in Windows is done in a different manner!