ubuntu 装tensorflow出现 conda install ERROR missing write permission错误
Posted happystudyeveryday
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu 装tensorflow出现 conda install ERROR missing write permission错误相关的知识,希望对你有一定的参考价值。
通过搜索tensorflow然后运行,例如:$ conda install
-
-
channel https:
/
/
conda.anaconda.org
/
jjh_cio_testing tensorflow
-
gpu
=
=
1.3
.
0
报错:
CondaIOError: Missing write permissions in: /usr/local/anaconda3
#
# You don‘t appear to have the necessary permissions to install packages
# into the install area ‘/usr/local/anaconda3‘.
# However you can clone this environment into your home directory and
# then make changes to it.
# This may be done using the command:
#
# $ conda create -n my_root --clone="/usr/local/anaconda3"
问题在于 anaconda所在文件夹只有root 才有权限,而 sudo 对于conda没用,解决方案是修改文件夹权限给当前用户
sudo chown -R usr foldername
比如我的用户名是 adrianna, anaconda 的安装目录是/usr/local/anaconda3:
adrianna@adrianna-ubuntu:~$ sudo chown -R adrianna /usr/local/anaconda3
参考文献:1.https://blog.csdn.net/u012223913/article/details/76532776
以上是关于ubuntu 装tensorflow出现 conda install ERROR missing write permission错误的主要内容,如果未能解决你的问题,请参考以下文章
Ubuntu中安装freeswitch,./configure的时候出现问题
在 ubuntu vagrant box 中安装 gd 后出现“Composer Update”错误
Ubuntu中安装 python-sklearn 出现无法找到软件包是怎么回事
Debian或者Ubuntu中安装secureCRT/secureFX出现点击图标后启动不了
ubuntu 装tensorflow出现 conda install ERROR missing write permission错误