quand je cours
Sudo pip install -U scipy
il est d'abord téléchargé et ensuite il montre
Running setup.py install for scipy
mais il y gèle. J'ai essayé de mettre à jour pip lui-même. A bien fonctionné. Ma version pip est 1.5.4
La seule erreur que j'obtiens est InsecurePlatforWarning. La sortie complète ressemble à ceci:
tom@tom-ThinkPad-Edge-E430:~$ Sudo pip install -U scipy
The directory '/home/tom/.cache/pip/http' or its parent directory
is not owned by the current user and the cache has been disabled.
Please check the permissions and owner of that directory. If
executing pip with Sudo, you may want Sudo's -H flag.
The directory '/home/tom/.cache/pip' or its parent directory is not
owned by the current user and caching wheels has been disabled.
check the permissions and owner of that directory. If executing pip with
Sudo, you may want Sudo's -H flag.
Collecting scipy
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90:
InsecurePlatformWarning: A true SSLContext object is not available.
This prevents urllib3 from configuring SSL appropriately and
may cause certain SSL connections to fail. For more information, see
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading scipy-0.16.1.tar.gz (12.2MB)
100% |████████████████████████████████| 12.2MB 32kB/s
Installing collected packages: scipy
Running setup.py install for scipy
Cela a pris un temps inattendu, mais cela s'est terminé après plusieurs minutes. Donc, le problème est résolu.
Faire
Sudo apt-get install python-scipy
pour python2
ou
Sudo apt-get install python3-scipy
si vous ne vous souciez pas de la version. S'installe en quelques secondes sur RPI3