Don*_*beo 2 python3 software-installation 14.04
当我运行命令时 sudo pip3 install -U scikit-learn
我收到一个奇怪的错误。
Cleaning up...
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/scikit-learn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hrwadcyq-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/scikit-learn
Storing debug log for failure in /home/donbeo/.pip/pip.log
Run Code Online (Sandbox Code Playgroud)
这里是日志文件的链接。 https://drive.google.com/file/d/0B3FIuCA5bZUaUC1pd21MTUFxWkU/edit?usp=sharing
我不知道如何解决这个问题。
这里有一个问题,与预编译用Cython的C文件用的PyPI版本(与Python 3.4.0的兼容性)。
要正确安装scikit-learn,请改用 git repo(在 14.04 上测试正常):
sudo pip3 install git+https://github.com/scikit-learn/scikit-learn.git
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4869 次 |
| 最近记录: |