linux - python程序导入cv2包时报错,version `GLIBCXX_3.4.21' not found
PHPz2017-04-18 10:00:52
0
1
860
ImportError: /home/zhao/anaconda2/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/zhao/anaconda2/lib/python2.7/site-packages/cv2.so)
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
pip install opencv-python
直接這樣好了