用pip 安装模块出错
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
解决:
sudo apt-get install build-essential autoconf libtool pkg-config python-opengl python-imaging python-pyrex python-pyside.qtopengl idle-python2.7 qt4-dev-tools qt4-designer libqtgui4 libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus python-qt4 python-qt4-gl libgle3 python-dev libssl-dev
把所有的依赖库安装一遍应该能解决这类问题
如果还没解决可以尝试
sudo apt install python-zbar
网友评论