-1

I have given permissions to all by going to my python directory. I have even tried running pip install mitmproxy but getting Please help me with a solution to this problem.

Please not: I have allowed permissions to all in python root directory.

Error message on typing pip install --no-cache-dir robotframework:

Could not install packages due to an EnviromentError:

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

Please find the error message below after running the mitmproxy command:

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\
Bence Kaulics
  • 7,066
  • 7
  • 33
  • 63
  • 1
    It seems like there is content missing here. Please don't try to upload any pictures of error messages. Instead, edit your question so that it contains the commands you have been running along with the error message **as text** (put into code formatting for better readability) – FlyingTeller Mar 12 '19 at 10:40
  • 2
    The error message tells you what to try to resolve the problem. Have you tried what it suggests? – Bryan Oakley Mar 12 '19 at 14:16

1 Answers1

0

You should try to install, as suggested with:

pip install --user robotframework

Or, open a command window as Administrator, and install as in your first attempt.

Helio
  • 3,322
  • 1
  • 14
  • 23
  • Tried that. now i am getting::: Could not find a version that satisfies the requirement robotframework (from versions: ) No matching distribution found for robotframework. – user11101687 Mar 13 '19 at 11:13
  • Searching with that error, got https://stackoverflow.com/questions/44975280/pip-not-working-proxy Maybe your in a restricted Internet environment. – Helio Mar 14 '19 at 10:09