Home  >  Q&A  >  body text

linux - python程序导入cv2包时报错,version `GLIBCXX_3.4.21' not found

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)

PHPzPHPz2762 days ago928

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-18 10:02:52

    pip install opencv-python
    Just do this

    reply
    0
  • Cancelreply