日本免费高清视频-国产福利视频导航-黄色在线播放国产-天天操天天操天天操天天操|www.shdianci.com

學無先后,達者為師

網站首頁 編程語言 正文

anaconda打開閃退的解決過程_python

作者:Wsyoneself ? 更新時間: 2022-11-16 編程語言

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"的字樣,反正只要沒報錯就行。

總結

原文鏈接:https://blog.csdn.net/weixin_45647721/article/details/126062397

欄目分類
最近更新