測試之前我的系統python相關軟件,已全部卸載
先安裝 python3.6 或者 Anaconda3-4.4.0-Windows-x86_64.exe,安裝時,選擇加入環境變量,我這里的安裝位置時默認安裝位置
打開cmd 輸入:
python -m pip install -U pip pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple PyQt5 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple PyQtWebEngine pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pyqt5-tools pip install -i https://pypi.tuna.tsinghua.edu.cn/simple QScintilla
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple PyQtChart
cd 到 eric6中的 install.py位置,然后cmd 中輸入:
python install.py
PyQtChart提示錯誤 y
pywin32提示錯誤 y
接下來一定要配置,不然還是錯誤。
最后一步:將 Lib\site-packages\PyQt5\Qt\plugins下的platforms文件夾拷貝到 \Lib\site-packages\pyqt5_tools\Qt\bin目錄下
============重啟eric6,發現可以了
############### 時隔多久 最近 再次安裝 eric6 發現 一直報錯,原因如下 更新時間 2021年3月 ################
1. 按照上述方法安裝之后,進行如下配置,上述配置 僅作為參考吧(反正我試是不行的,失敗原因為PyQt在更新呀)
2. APIs 中 已經不需要設置了
3. Qt 里面 只 需要選 Tools Directory