简体   繁体   English

WinError 5 错误,使用虚拟环境在 jupyter 上安装 tensorflow-gpu 所需的权限

[英]WinError 5 error, permissions needed to install tensorflow-gpu on jupyter with virtual environment

I am having trouble installing tensorflow gpu in my computer that runs on windows 11 and has python 3.9.我在我的计算机上安装 tensorflow gpu 时遇到问题,该计算机在 windows 11 上运行并且具有 Z23EEEB4347BDD26BDDZ6EE377。 The problem is that the error code indicates not having permissions to install [WinError 5].问题是错误代码表明没有权限安装[WinError 5]。 When pasting this code into jupyter:将此代码粘贴到 jupyter 时:

.pip install tensorflow-gpu==2.6.1 .pip 安装tensorflow-gpu==2.6.1

The looks as follows:外观如下:

ERROR: Could not install packages due to an OSError: [WinError 5] Acceso denegado: 'c:\users\medai\desktop\coding\tensorflow course\tfodcourse\tfod\Lib\site-packages\tensorflow\lite\experimental\microfrontend\python\ops\_audio_microfrontend_op.so' Check the permissions.错误:由于 OSError 无法安装软件包:[WinError 5] Acceso denegado: 'c:\users\medai\desktop\coding\tensorflow course\tfodcourse\tfod\Lib\site-packages\tensorflow\lite\experimental\microfrontend \python\ops\_audio_microfrontend_op.so' 检查权限。

(Acceso denegado is Spanish for Denied Access) (Acceso denegado 是西班牙语的拒绝访问)

Can someone help me with this issue please?有人可以帮我解决这个问题吗? Have a nice day.祝你今天过得愉快。

I followed the procedure outlined in https://windowsreport.com/access-is-denied-windows-10/ .我遵循了https://windowsreport.com/access-is-denied-windows-10/中概述的程序。 It worked for me.它对我有用。 I have installed tensorflow-gpu successfully.我已经成功安装了 tensorflow-gpu。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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