我尝试了两种方法在我的mac上安装pyqt4
。
第一种方法是brew install pyqt
,但最后会出现以下错误:
Warning: pyqt-4.11.4 already installed, it's just not linked
第二种方法是
cd ~/sip-4.17
python configure.py
make && sudo make install
cd PyQt-mac-gpl-4.12-snapshot-19cee2125593
python configure.py -d /Library/Python/2.7/site-packages/ -g --use-arch x86_64
当它回来的时候
Error: qtdirs.app/Contents/MacOS/qtdirs failed to create qtdirs.out. Make sure your Qt installation is correct.
Python对我来说还是个新手,所以我不知道如何解决这个问题,而您的解决方案对我来说意义重大。谢谢
目前没有回答
相关问题 更多 >
编程相关推荐