安装conda forge mlxtend-安装mlxtend时出错-权限被拒绝



我正试图使用以下命令从终端安装mlxtend。

conda install -c conda-forge mlxtend 

一切都很好,直到我得到以下错误:

Solving environment: done
### Package Plan ##
environment location: /home/uay/anaconda3
added / updated specs: 
- mlxtend

The following NEW packages will be INSTALLED:
mlxtend: 0.13.0-py_1  conda-forge
The following packages will be UPDATED:
conda:   4.5.4-py36_0 conda-forge --> 4.5.8-py36_1 conda-forge
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'conda-forge::conda-4.5.4-py36_0'.
PermissionError(13, 'Permission denied')

正在尝试回滚。回滚事务:已完成PermissionError(13,"权限被拒绝"(

我使用的是Linux Mint。任何人都有这种问题,请建议。非常感谢。须藤司令部在这里没什么了不起的。

您可以尝试此命令的旧版本。

conda-install-c rasbt mlxtend

将您对anaconda的权限更改为当前用户。希望它能起作用。

最新更新