CentOS 7 安装sklearn gcc: error: ‘-Qunused-arguments’
1. 在CentOS7上安装sklearn各种报错
gcc: error: unrecognized command line option ‘-Qunused-arguments’ gcc: error: unrecognized command line option ‘-Qunused-arguments’ gcc: error: unrecognized command line option ‘-Qunused-arguments’
google下应该是pip版本问题,之前安装的pip版本是7.1,现在最新版本都到8.1了
2. 在pipy下载pip whl安装文件
https://pypi.python.org/pypi/pip下载whl安装文件
下载:
[root@slaver3 ~]# wget https://pypi.python.org/packages/9c/32/004ce0852e0a127f07f358b715015763273799bd798956fa930814b60f39/pip-8.1.2-py2.py3-none-any.whl#md5=0570520434c5b600d89ec95393b2650b --2016-09-05 16:19:48-- https://pypi.python.org/packages/9c/32/004ce0852e0a127f07f358b715015763273799bd798956fa930814b60f39/pip-8.1.2-py2.py3-none-any.whl Resolving pypi.python.org (pypi.python.org)... 151.101.24.223, 2a04:4e42:6::223 Connecting to pypi.python.org (pypi.python.org)|151.101.24.223|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1198961 (1.1M) [application/octet-stream] Saving to: ‘pip-8.1.2-py2.py3-none-any.whl’ 100%[=====================================================>] 1,198,961 667KB/s in 1.8s 2016-09-05 16:19:50 (667 KB/s) - ‘pip-8.1.2-py2.py3-none-any.whl’ saved [1198961/1198961]
安装
相关推荐
iFlyAI 2020-09-14
xinhao 2020-07-20
taiyangshenniao 2020-06-25
pythonxuexi 2020-06-25
zhaobig 2020-06-25
qingqingpiaoguo 2020-06-22
yjsflxiang 2020-06-14
txlCandy 2020-06-09
bizercsdn 2020-06-08
JakobHu 2020-05-27
davidliu00 2020-05-26
Laozizuiku 2020-05-17
zcabcd 2020-05-15