anaconda打開閃退的解決過程

  • A+
所屬分類:百科知識

這篇文章主要給大家介紹了關于anaconda打開閃退的解決過程,文中通過實例代碼介紹的非常詳細,對大家學習或者使用anaconda具有一定的參考學習價值,需要的朋友可以參考下

anaconda打開閃退:(過程中可能需要輸入y確認)

1.管理員權限運行anaconda prompt

2.升級conda:

conda update anaconda-navigator

3.重置navigator:

anaconda-navigator --reset

4.升級客戶端:

conda update anaconda-client

5.升級安裝依賴包:

conda update -f anaconda-client

6.再嘗試打開anaconda

7.如果上方出現更新較慢,可以添加鏡像源,加快速度:

conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes

8.查看是否添加上源了:

conda config --show(看channels屬性下是否有上方添加的兩個鏡像了)

9.如果鏡像失效,刪除鏡像:

conda config --remove channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/

補充:anaconda打開出現黑框隨后閃退

在cmd中輸入Anaconda-Navigator發現報錯

qtpy.PythonQtError: No Qt bindings could be found

隨后尋找到如下安裝方案:

1.保證你電腦上有原裝的python,就是從官網下的那個原版python

Run “pip install pyqt5-tools” from cmd.
2.在命令行窗口(cmd)輸入pip install pyqt5-tools

You should have a message on screen post-installation - “Successfully installed click-7.0 pyqt5-5.13.0 pyqt5-tools-5.13.0.1.5 python-dotenv-0.10.3” 3.如果安裝成功,會提示"Successfully installed click-7.0 pyqt5-5.13.0 pyqt5-tools-5.13.0.1.5 python-dotenv-0.10.3"的字樣,反正只要沒報錯就行。

歷史上的今天:

推薦應用

發表評論

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: