[英]Installing tensorflow on windows10 -python 3.6.1 (anaconda)
[英]Access Denied while installing pytorch/tensorflow on windows10
我嘗試使用以下命令在 anaconda 提示符中安裝 Tensorflow: conda install tensorflow
我收到以下錯誤消息:
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')
同樣,當我嘗試通過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')
我以管理員權限檢查並運行了這些命令。 如何解決這個問題並在 conda 中安裝 tensorflow?
閱讀有關卸載 Anaconda https://docs.anaconda.com/anaconda/install/uninstall的文檔
做一個 conda install anaconda-clean
然后做 anaconda-clean --yes
然后為 Windows 安裝程序下載 Anaconda 並通過這些步驟運行。 https://www.anaconda.com/products/individual#windows
然后使用您嘗試使用的命令重新安裝 tensorflow。
如果這不起作用,您可能有 python 並發(在內置 python 和手動安裝的 python 版本之間)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.