错误信息:
pip install pandas 安装失败:
AttributeError: module ‘pip’ has no attribute ‘main’
解决办法:
/Applications/PyCharm.app/Contents/helpers/packaging_tool.py
修改do_install和do_uninstall
原来:
def do_install(pkgs):
try:
import pip
except ImportError:
error_no_pip()
return pip.main(['install'] + pkgs)
def do_uninstall(pkgs):
try:
impor