原文:解决pycharm问题:module 'pip' has no attribute 'main'

今天在用pycharm下载module的时候突然就报错:module pip has no attribute main 解决办法是找到Pycharm的安装目录下面的Contents helpers下面的packaging tool.py 把do install 和 do uninstall两个方法从 改成为: 重新启动Pycharm,搞定 ...

2018-05-08 20:31 0 6313 推荐指数:

查看详情

解决pycharm问题module 'pip' has no attribute 'main'

前言:更新pip之后,Pycharm安装package出现报错:module 'pip' has no attribute 'main' 1.找到pycharm的安装目录下的 helpers/packaging_tool.py文件 2.修改代码 修改前: 修改后 ...

Thu Mar 14 01:15:00 CST 2019 0 577
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM