在windows中安装robot framework时出现环境错误,在python根目录中允许所有权限后发生事件

2024-09-30 04:38:08 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经通过进入python目录授予了所有用户权限。我甚至试过运行pip安装mitmproxy,但是请帮助我解决这个问题。你知道吗

请不要:我已经允许在python根目录中访问所有文件。你知道吗

键入pip install --no-cache-dir robotframework时出错消息:

由于环境错误,无法安装程序包:

 [WinError 5] Access is denied: 'C:\\Program Files (x86)\\Python37-32\\Lib\\site-packages\\robot'
Consider using the '--user' option or check the permissions.

运行mitmproxy命令后,请查看下面的错误消息:

Command ""c:\program files (x86)\python37-32\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\FUTURE~1\\AppData\\Local\\Temp\\pip-install-vdwgzzct\\brotlipy\\setup.py';f=getatt
enize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\FUTURE~1\AppData\Local\Temp\pip-record-trng_sjo\insta
cord.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\FUTURE~1\AppData\Local\Temp\pip-install-vdwgzzct\brotlipy\

Tags: installpipthe消息local错误codefuture

热门问题