ça ne marche pasJe ne sais pas quelle commande pose problème
je t'envoie la sortie de chaque commande
curl -k -o /opt/ez_setup.py https://bootstrap.pypa.io/ez_setup.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12059 100 12059 0 0 27092 0 --:--:-- --:--:-- --:--:-- 436k
[root@localhost opt]# cat ez_setup.py | /usr/local/bin/python
Traceback (most recent call last):
File "<stdin>", line 415, in <module>
File "<stdin>", line 411, in main
File "<stdin>", line 327, in download_setuptools
File "<stdin>", line 347, in _resolve_version
File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
context=self._context)
File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[root@localhost opt]# pip install scikit-learn
Collecting scikit-learn
Using cached scikit-learn-0.17.tar.gz
Could not import setuptools which is required to install from a source distribution.
Please install setuptools.





Répondre avec citation



Partager