当尝试使用conda install -c anaconda cython=0.24从Conda更新Cython时,我得到以下错误:
Error: Missing write permissions in: /home/user/anaconda3
#
# You don't appear to have the necessary permissions to install packages
# into the install area '/home/user/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/user/anaconda3当我尝试sudo conda install -c anaconda cython=0.24时,我会得到一个sudo: conda: command not found错误。
发布于 2016-07-07 12:21:18
我刚刚将用户从root更改为/home/ user /anaconda3 3,一切正常。
此命令无法运行sudo conda install -c anaconda cython=0.24,因为sudo conda不是有效的命令。安装时应确保anaconda具有正确的用户和权限。
https://askubuntu.com/questions/795950
复制相似问题