https://blog.csdn.net/clinggu0904/article/details/110235837
双击library,+号,选中项目的路径后点OK
遇到的问题:
一、报错:ModuleNotFoundError: No module named 'PIL'解决方法:
https://blog.csdn.net/weixin_44037416/article/details/96842058
cmd下运行:pip install pillow
如下圖説明下載中:
成功下载:
python缺少的工具包都可以通过(pip install 工具包名 )来下载
二、IDEA : no python interpreter configured for the module
https://blog.csdn.net/zooop/article/details/120021631
注意:下图的位置要新建一个空的文件夹,否则不能点选OK
三、如图
点开 红框部位的三角
python包手动下载网址:https://www.lfd.uci.edu/~gohlke/pythonlibs/
三、python3.8以上安装的pyhook版本:安装的是pywinhook中对应的版本python3.8及以上版本安装pyHook失败的解决方案_pyhook安装失败_苦恼小G的博客-CSDN博客s
四、修改pip工具库默认下载地址:
https://blog.csdn.net/xiangfengl/article/details/127592150
五、pycharm开发工具激活:
https://baijiahao.baidu.com/s?id=1767940810349192650&wfr=spider&for=pc
六、python中的pip利用cmd安装时报错:
【pip报错】WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None))
如果是有代理的电脑则按上面的方法在cmd中设置电脑的代理地址:
set http_proxy=http://hefei18:Hefei@0513@proxy.it.taikang.com:8080
set https_proxy=http://hefei18:Hefei@0513@proxy.it.taikang.com:8080
设置完可以查询到代理地址:echo %http_proxy%,echo %https_proxy%;但是没设置成功只会返回http_proxy
下面的设置也一样可以使用,(注意cmd每次重新打开的时候都需要重新设置一次代理):
百度安全验证