import cv2 leads segmentation fault after conda virtual env deactivated [closed]
Hi there,
I have installed opencv 3.4.1 correctly on my system enviroment.
But after I create a conda virtual environment using opencv3.2.0, it leads some problems here:
Under the conda virtual env, I have to always first
ldd PATH_TO_VIRTUAL_ENV_SITE_PACKAGES/cv2.so
such that import cv2 is correctly using the 3.2.0 version of opencv.
Under the conda base enviroment import cv2 using opencv 3.4.1 version.
Under the system enviroment, i.e first comment the PATH to anaconda3, then import cv2 will lead to segmentation fault.
How to solve this problem? Thank you.
does not seem to be a specific opencv problem, more a conda (noone can help ppl using that...) or system / venv one.