Python在终端通过pip安装好包以后,在Pycharm中导入失败的解决办法
我自己成功的一种就是重建目录,创建时勾选“inherit global site-packages”,即可解决。如下图
此处参考了网上大佬写的https://blog.csdn.net/kouyi5627/article/details/80531442大家可以去看一下原文,里面一共有三种解决办法。
通过pip安装包,出现问题
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000021DE80A88B0>, ‘Connection to pypi.org timed out. (connect timeout=15)’)’: /simple/jupyter/
貌似网速不给力,下载不了,于是找了国内的源解决了
pip