FastMaskRCNN
FastMaskRCNN copied to clipboard
ImportError: /usr/local/lib/python2.7/dist-packages/cv2.so: undefined symbol
I'm just a beginner.when I run the train.py,there are some problems.How can I deal with the problem?
Traceback (most recent call last):
File "train/train.py", line 21, in
Run: pip3 install --upgrade opencv-python should fix it
Thank you...I was trying to install OpenCV3.3 on Ubuntu 14.04 with Python 3.4.3 and faced the error
.virtualenvs/cv2/lib/python3.4/site-packages/cv2.so: undefined symbol: _ZTIN2cv3dnn19experimental_dnn_v15LayerE
and doing pip3 install --upgrade opencv-python completed the import of cv2. Thank you.
For addition, if you want to upgrade to specific version just run this command for example
pip3 install --upgrade opencv-python==3.3.1.11