Reputation: 21
i am trying to install pyinstaller with pip it's giving me this error:
error: could not create 'c:\program files (x86)\microsoft visual studio\shared\python36_64\Lib\site-packages\future': Access is denied
----------------------------------------
Command ""c:\program files (x86)\microsoft visual studio\shared\python36_64\python.exe" -u -c "import setuptools, tokenize;file='C:\Users\JOHN\AppData\Local\Temp\pip-build-72kzy1b4\future\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\JOHN\AppData\Local\Temp\pip-s9wqmmur-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\JOHN\AppData\Local\Temp\pip-build-72kzy1b4\future\
Thanks to all people that will reply.
Upvotes: 0
Views: 1057
Reputation: 185
Run Windows PowerShell as administrator. Rightclick >> Run as Administrator
Upvotes: 1