首页 文章

无法在ubuntu 14.04中安装numpy [重复]

提问于
浏览
-1

这个问题在这里已有答案:

错误:无法创建'/usr/local/lib/python2.7/dist-packages/numpy':权限被拒绝


清理...命令/ usr / bin / python -c“import setuptools,tokenize; file = '/tmp/pip_build_mark/numpy/setup.py'; exec(compile(getattr(tokenize,'open',open)( file ) . read() . replace('\r\n','\n') , file ,'exec'))“安装--record /tmp/pip-TKmHYa-record/install-record.txt --single-version-external-managed --compile失败,错误代码为1 / tmp / pip_build_mark / numpy

1 回答

  • 0

    尝试使用超级用户权限(通过 sudo 或以root用户身份登录)运行,或者更好地安装在虚拟环境中

相关问题