## 我太难了 经过一堆试验 终于出了坑

总的来说:

1.卸载pyqt5  命令:pip uninstall  pyqt5

2.重新安装低版本的pyqt5

   命令: pip install PyQt5==5.10.1

如果出现pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.问题 

   命令:pip --default-timeout=100 install pyqt5==5.10.0


突然打不开spyder了 提示ValueError: PyCapsule_GetPointer called with incorrect name

spyder 出现ValueError: PyCapsule_GetPointer called with incorrect name

然后看了一堆回答 说是要卸载 qtpy和PyQt5

卸载qtpy之后输入spyder 提示:

spyder 出现ValueError: PyCapsule_GetPointer called with incorrect name

然后  pip install qtpy==1.9.0(随便试的版本 事实证明不行) 

spyder 出现ValueError: PyCapsule_GetPointer called with incorrect name

spyder 出现ValueError: PyCapsule_GetPointer called with incorrect name

 ● 尝试卸载pyqt5

pip uninstall pyqt5

spyder 出现ValueError: PyCapsule_GetPointer called with incorrect name

 然后 运行 pip install PyQt5==5.10.1 指定下载版本

过程中出现问题:

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

查到两种常用方法 解决下载过程中的time out问题:

pip --default-timeout=100 install pyqt5==5.10.0 (本人用的这种)

pip install PyQt5 -i https://pypi.tuna.tsinghua.edu.cn/simple/

重装好pyqt5再输入spyder就成功啦

spyder 出现ValueError: PyCapsule_GetPointer called with incorrect name

相关文章:

  • 2021-06-15
  • 2022-12-23
  • 2021-07-09
  • 2021-08-03
  • 2021-05-17
  • 2022-01-09
  • 2022-03-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2021-04-28
  • 2021-12-05
  • 2021-07-09
  • 2021-12-21
相关资源
相似解决方案