【发布时间】:2019-06-18 14:15:08
【问题描述】:
我正在使用 mac,试图将 python(从 anaconda)从 3.7 降级到 3.6,但出现错误。
在终端上,我写道:conda install python=3.6.8.
错误:
Executing transaction: failed
ERROR conda.core.link:_execute(568): An error occurred while uninstalling package 'defaults::python.app-2-py37_9'.
PermissionError(1, 'Operation not permitted')
Attempting to roll back.
Rolling back transaction: done
[Errno 1] Operation not permitted: '/Users/../anaconda3/python.app/Contents/PkgInfo' -> '/Users/../anaconda3/python.app/Contents/PkgInfo.c~'
我试过了:
sudo env "PATH=$PATH" conda update conda
sudo conda install python=3.6
sudo -H conda update conda
conda update conda
仍然,得到同样的错误。 我该怎么办?
【问题讨论】: