简体   繁体   中英

python pip installer error

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.

Run Windows PowerShell as administrator. Rightclick >> Run as Administrator

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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