log 如下
pi@raspberrypi:~ $ pip install --user pandas
Looking in indexes:
http://mirrors.aliyun.com/pypi/simple/Collecting pandas
Downloading
http://mirrors.aliyun.com/pypi/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz (11.3MB)
100% |████████████████████████████████| 11.3MB 4.4MB/s
Could not find a version that satisfies the requirement Cython (from versions: )
No matching distribution found for Cython
然后我去 update,upgrade 了软件
报错依旧
试过 python 安装命令
python -m pip install pandas
然后就报错不同的 log。。。最下的 log 是
Cleaning up...
Command python
setup.py egg_info failed with error code 1 in /tmp/pip-build-cMceul/pandas
Traceback (most recent call last):
File "/usr/lib/python2.7/
runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/
runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/python2.7/dist-packages/pip/
__main__.py", line 5, in <module>
exit = run()
File "/usr/lib/python2.7/dist-packages/pip/
runner.py", line 12, in run
return pip.main()
File "/usr/lib/python2.7/dist-packages/pip/
__init__.py", line 248, in main
return command.main(cmd_args)
File "/usr/lib/python2.7/dist-packages/pip/
basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 72: ordinal not in range(128)
安道理 python -m pip install pandas 和 pip install pandas 报错不应该是一样的吗
如知道请告诉我,谢谢
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/451022
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.