conda update package-name
を使用してパッケージを更新しようとすると、次のメッセージが表示されます。
以前、16.04と16.10にAnacondaをインストールしましたが、そのような問題はありません。
CondaIOError: IO error: Missing write permissions in: /home/samriddhi/anaconda3
#
# You don't appear to have the necessary permissions to update packages
# into the install area '/home/samriddhi/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=/home/samriddhi/anaconda3
承認された回答:
Djokesterの答えはうまくいくはずですが、私にはひどいやり過ぎのようです。
次のことができます:
sudo chown -R username:username anaconda3
usernameはユーザー名です。