我正在尝试在Ubuntu上安装PyQt。我要处理的障碍列表太长,无法在此处列出。我目前试图克服的障碍是:(myvenv)% cd ~/.virtualenvs/myvenv/build/pyqt(myvenv)% python ./configure.pyTraceback (most recent call last): File "./configure.py", line 32, in <module> import sipconfig好的,让我们安装sipconfig...(myvenv)% pip install SIPDownloading/unpacking SIP Downloading sip-4.14.8-snapshot-02bdf6cc32c1.zip (848Kb): 848Kb downloaded Running setup.py egg_info for package SIP Traceback (most recent call last): File "<string>", line 14, in <module> IOError: [Errno 2] No such file or directory: '/home/yt/.virtualenvs/myvenv/build/SIP/setup.py' Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 14, in <module>IOError: [Errno 2] No such file or directory: '/home/yt/.virtualenvs/myvenv/build/SIP/setup.py'----------------------------------------Command python setup.py egg_info failed with error code 1 in /home/yt/.virtualenvs/myvenv/build/SIPStoring complete log in /home/yt/.pip/pip.log到目前为止,我发现安装SIP的唯一方法是python configure.pymakesudo make install但是,在Ubuntu上,我尝试通过进行每个安装apt-get,因此我不愿意遵循上述方法。我还能如何安装SIP?
添加回答
举报
0/150
提交
取消