使用pip安装mxnet出错Could not install packages due to an EnvironmentError: [Errno 13] 权限不够: '/usr/local/li

pip install --pre mxnet

当输入这个命令在电脑终端时:报错

Could not install packages due to an EnvironmentError: [Errno 13] 权限不够: '/usr/local/lib/python2.7/dist-packages/numpy-1.14.5.dist-info'
Consider using the `--user` option or check the permissions.

解决方法:

进入root用户安装,输入

sudo su
pip install --pre mxnet

等待:

安装成功!

猜你喜欢

转载自blog.csdn.net/weixin_40533355/article/details/81134725