简体   繁体   中英

Access Denied while installing pytorch/tensorflow on windows10

I tried to install Tensorflow in the anaconda prompt using the command: conda install tensorflow I received the following error message:

Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::scipy-1.1.0-py36h672f292_0'.
PermissionError(13, 'Access is denied')
Attempting to roll back.
Rolling back transaction: done
PermissionError(13, 'Access is denied')

Similarly when I tried to install pytorch via conda install -c pytorch pytorch :

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

I checked and ran those commands with administrator privileges. How to solve this problem and install tensorflow in conda?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM