请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

sudo pip install numpy 报错

执行sudo -H pip install numpy 报这个错
图片描述

或 sudo pip install numpy

报:
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/init.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
warnings.warn(warning, RequestsDependencyWarning)
The directory ‘/home/zzc/.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/zzc/.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.
Requirement already satisfied: numpy in /usr/local/lib/python2.7/dist-packages (1.15.4)

正在回答

1回答

不是错误。说明numpy已经有了。

Requirement already satisfied: numpy in /usr/local/lib/python2.7/dist-packages (1.15.4)

已经在 /usr/local/lib/python2.7/dist-packages 里了。

0 回复 有任何疑惑可以回复我~
  • 提问者 zzc_110 #1
    非常感谢!
    回复 有任何疑惑可以回复我~ 2018-12-24 18:01:59
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信