djo*_*ter 4 package-management python sudo anaconda
每当我尝试更新任何包时,都会显示以下消息 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
Run Code Online (Sandbox Code Playgroud)
小智 5
尽管 Djokester 的回答应该可以正常工作,但对我来说这似乎是可怕的矫枉过正。一个人可以这样做:
sudo chown -R username:username anaconda3
Run Code Online (Sandbox Code Playgroud)
其中 username 是您的用户名。
| 归档时间: |
|
| 查看次数: |
7673 次 |
| 最近记录: |