Anaconda安装第三方包时的问题
1、用Anaconda安装abupy,报错: Could not find a version that satisfies the requirement abupy (from versions: )
No matching distribution found for abupy,
解决:
升级python -m pip install --upgrade pip,发现错误依旧;
删除C:\Users\HP\pip\pip.ini,解决问题。
2、在pycharm中运行,发现ImportError: DLL load failed: 找不到指定的模块。
错误行是import matplotlib.pyplot as plt;
解决:
pip uninstall matplotlib //卸载matplotlib
执行pip install matplotlib //安装matplotlib,出错如下:
再次把之前删除的C:\Users\HP\pip\pip.ini重新恢复,问题解决。