Anaconda下安装tensorflow遇到的错误

打开Anaconda Prompt,输入pip install tensorflow,出现错误:

Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-uninstall-iky6_x09\\users\\administrator\\anaconda3\\lib\\site-packages\\numpy\\core\\multiarray.cp35-win_amd64.pyd'
Consider using the `--user` option or check the permissions.

错误原因:是权限问题

解决方法:在原来的命令中加入--user,命令变成:

pip install --user tensorflow

问题成功解决!

猜你喜欢

转载自blog.csdn.net/skj1995/article/details/82078818
今日推荐