简体   繁体   English

在Fedora上安装scikit-learn的问题

[英]Problems with installing scikit-learn on Fedora

I have some problems while installing scikit-learn on Fedora 23 using pip 使用pip在Fedora 23上安装scikit-learn时遇到一些问题

pip install scikit-learn

Here's what I get 这就是我得到的

Command "/usr/bin/python -u -c "import setuptools, tokenize; 命令“ / usr / bin / python -u -c”导入设置工具,标记化; file ='/tmp/pip-build-MPbvR0/scikit-learn/setup.py';exec(compile(getattr(tokenize, 'open', open)( file ).read().replace('\\r\\n', '\\n'), file , 'exec'))" install --record /tmp/pip-k_kxgh-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-MPbvR0/scikit-learn 文件 ='/ tmp / pip-build-MPbvR0 / scikit-learn / setup.py'; exec(compile(getattr(tokenize,'open',open)( file ).read()。replace('\\ r \\ n ','\\ n'), 文件 ,'exec'))“安装--record /tmp/pip-k_kxgh-record/install-record.txt-单一版本-外部管理的--compile”失败,并出现错误/ tmp / pip-build-MPbvR0 / scikit-learn中的代码1

What may the problem be? 可能是什么问题?

There is a way to get around the problem. 有一种解决问题的方法。 Download and install Anaconda which is Python + 195 packages including scikit-learn. 下载并安装Anaconda ,它是Python + 195个软件包,其中包括scikit-learn。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM