pycharm 安装库提示:
Command “python setup.py egg_info” failed with error code 1 in C:\Users\始末\AppData\Local\Temp\pip-build-qqzi7cdv\pandas\
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\始末\AppData\Local\Temp\pip-build-8vi4ouck\pandas\setup.py", line 350
f"{extension}-source file '{sourcefile}' not found.\n"
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\始末\AppData\Local\Temp\pip-build-8vi4ouck\pandas\
You are using pip version 8.1.1, however version 20.2.4 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
解决方案:
方案一:
更新插件
python -m pip install --upgrade setupTools
python -m pip install --upgrade pip
方案二:参考来源
利用pip工具,下载对应的whl文件即可!
即:
pip install rpy2-2.9.5-cp36-cp36m-win_amd64.whl
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)