這篇文章主要給大家介紹了關于anaconda打開閃退的解決過程,文中通過實例代碼介紹的非常詳細,對大家學習或者使用anaconda具有一定的參考學習價值,需要的朋友可以參考下
anaconda打開閃退:(過程中可能需要輸入y確認)文章源自四五設計網-http://www.133122.cn/35718.html
1.管理員權限運行anaconda prompt文章源自四五設計網-http://www.133122.cn/35718.html
2.升級conda:文章源自四五設計網-http://www.133122.cn/35718.html
conda update anaconda-navigator
3.重置navigator:文章源自四五設計網-http://www.133122.cn/35718.html
anaconda-navigator --reset
4.升級客戶端:文章源自四五設計網-http://www.133122.cn/35718.html
conda update anaconda-client
5.升級安裝依賴包:文章源自四五設計網-http://www.133122.cn/35718.html
conda update -f anaconda-client
6.再嘗試打開anaconda文章源自四五設計網-http://www.133122.cn/35718.html
7.如果上方出現更新較慢,可以添加鏡像源,加快速度:文章源自四五設計網-http://www.133122.cn/35718.html
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.查看是否添加上源了:文章源自四五設計網-http://www.133122.cn/35718.html
conda config --show(看channels屬性下是否有上方添加的兩個鏡像了)
9.如果鏡像失效,刪除鏡像:文章源自四五設計網-http://www.133122.cn/35718.html
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"的字樣,反正只要沒報錯就行。


評論