I am having problems installing pyperclip

早过忘川 提交于 2019-12-25 07:25:45

问题


i am currently new to python. I am following the book Automate python I am having problem installing pyperclip it keeps saying access denied enter image description here

as the picture shows i follow the right steps but i keep getting denied

Note: I am on the admin account when trying to install pyperclip from command prompt. I am using windows 7.

How do i overcome this issue? Is there any alternative way to install pyperclip?

Please help thank you


回答1:


You should not install python to C:\Program Files because it is not writable by normal user. If it's possible, do consider installing python at a more permissive location such as C:\Python35 or anywhere else except C:\Program Files and C:\Program Files (x86)

quickfix: open Command Prompt (Admin) by pressing Alt + x + a. Then use pip install pyperclip to install the package.



来源:https://stackoverflow.com/questions/37422169/i-am-having-problems-installing-pyperclip

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!