溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

ancoda3+pyqt5+eric安裝

發(fā)布時(shí)間:2020-08-23 21:50:34 來(lái)源:網(wǎng)絡(luò) 閱讀:932 作者:luckypig2008 欄目:編程語(yǔ)言

其余的安裝過(guò)程網(wǎng)上很清楚,注意的就是安裝的版本,pip默認(rèn)安裝的是最新版,但由于一些包的內(nèi)核是QT的,因此會(huì)產(chǎn)生版本沖突的錯(cuò)誤
利用,pip check可以查看需要的版本

(base) C:\windows\system32>pip check
spyder 3.3.6 requires pyqt5, which is not installed.
pyqtwebengine 5.13.2 requires pyqt5, which is not installed.
astroid 2.3.1 requires typed-ast, which is not installed.
xlwings 0.15.10 has requirement pywin32>=224, but you have pywin32 223.
spyder 3.3.6 has requirement pyqtwebengine<5.13; python_version >= "3", but you have pyqtwebengine 5.13.2
然后按照提示安裝相應(yīng)的版本即可
(base) C:\windows\system32>pip install pyqt5==5.12.0
Collecting pyqt5==5.12.0
Downloading https://files.pythonhosted.org/packages/a7/83/9acca4c6cc220f29607d857d87bcc1bd645daa4c5f8cff9958f60c5228a8/PyQt5-5.12-5.12.1_a-cp35.cp36.cp37.cp38-none-win_amd64.whl (49.4MB)
|▌ | 808kB 105kB/s eta 0:07:39

向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI