安装Tensorflow GPU

时间:2018-08-23 03:07:33

标签: python tensorflow anaconda

我正在尝试安装Tensorflow GPU,但此错误始终在我的Anaconda提示符下弹出。我该怎么办?

Could not install packages due to an  EnvironmentError: [WinError 5] 
Access is denied: 'c:\\users\\hp user\\anaconda3\\envs\\tensorflow\\Lib\\site-packages\\numpy\\.libs\\libopenblas.BNVRK7633HSX7YVO2TADGR4A5KEKXJAW.gfortran-win_amd64.dll' 
Consider using the `--user` option or check the permissions.

2 个答案:

答案 0 :(得分:0)

您使用的用户帐户无权通过pip执行全局安装,您需要在命令中添加--user命令,例如
pip install tensorflow-gpu --user

答案 1 :(得分:0)

由于权限问题而导致的问题,因此您必须以管理员模式打开cmd并在命令下运行

pip install tensorflow-gpu
相关问题