我已经通过进入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\
您应该按照以下建议尝试安装:
pip install user robotframework
或者,以管理员身份打开一个命令窗口,并按照第一次尝试的方式安装。你知道吗
相关问题 更多 >
编程相关推荐