I'm trying to update conda and get PermissionError(13, 'Access is denied')

余生颓废 提交于 2020-01-01 19:53:10

问题


I would like to update conda, anaconda, and python to the latest versions. I executed the following commands and received the following prompts. What's happening and how can I fix this? I appreciate the help

C:\Users\nabr>conda update --all
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.4.10
  latest version: 4.5.11

Please update conda by running

    $ conda update -n base conda



# All requested packages already installed.


C:\Users\nabr>conda update -n base conda
Solving environment: done

## Package Plan ##

  environment location: C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64

  added / updated specs:
    - conda


The following packages will be UPDATED:

    conda: 4.4.10-py36_0 --> 4.5.11-py36_0

Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(481): An error occurred while uninstalling package 'defaults::conda-4.4.10-py36_0'.
PermissionError(13, 'Access is denied')
Attempting to roll back.

Rolling back transaction: done

PermissionError(13, 'Access is denied')

来源:https://stackoverflow.com/questions/53242903/im-trying-to-update-conda-and-get-permissionerror13-access-is-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!