安装tensorflow-gpu出现的问题

1、Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/markdown'
Consider using the `--user` option or check the permissions.

使用pip3 install --user tensorflow-gpu==1.8.0 命令代替 pip3 install tensorflow-gpu==1.8.0 命令

2、Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/absl_py-0.2.2.dist-info'
Consider using the `--user` option or check the permissions.

关掉所有和pyhton相关的程序 再执行pip3 install --user tensorflow-gpu==1.8.0 命令

原文地址:https://www.cnblogs.com/llfctt/p/9272584.html