打开spyder时闪退

在尝试运行Spyder时遇到闪退问题。通过检查控制台错误、安装特定版本的pyqt5、pyqtwebengine和pyzmq,以及在启动命令前添加特定代码,最终成功启动Spyder。

1.直接控制台,输入spyder run,看有什么报错提示

C:\Users\aa>spyder run
link image0 hasn't been detected!
D:\Soft\Anaconda3\lib\site-packages\paramiko\transport.py:219: CryptographyDeprecationWarning: Blowfish has been deprecated
  "class": algorithms.Blowfish,
Bad file descriptor (C:\ci\zeromq_1616055400030\work\src\epoll.cpp:100)
[60816:67636:0214/221001.457:ERROR:broker_win.cc(59)] Error reading broker pipe: 管道已结束。 (0x6D)

2.找了一些大佬的解决方法,说 pip check

C:\Users\aa>pip check
spyder 5.2.2 requires pyqt5, which is not installed.
spyder 5.2.2 requires pyqtwebengine, which is not installed.
daal4py 2021.6.0 requires daal, which is not installed.
anaconda-project 0.11.1 requires ruamel-yaml, which is not installed.
conda-repo-cli 1.0.20 has requirement clyent==1.2.1, but you have clyent 1.2.2.
conda-repo-cli 1.0.20 has requirement nbformat==5.4.0, but you have nbformat 5.5.0.

 3.就安装了一下pyqt5、pyqtwebengine包,推荐安装老的版本

C:\Users\aa>pip install pyqt5==5.12.3 -i https://pypi.tuna.tsinghua.edu.cn/simple

C:\Users\aa>pip install pyqtwebengine==5.12.1 -i https://pypi.tuna.tsinghua.edu.cn/simple

4.安装后再次运行,还是不可以

C:\Users\绾绾>spyder run
D:\Soft\Anaconda3\lib\site-packages\paramiko\transport.py:219: CryptographyDeprecatio
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值