asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.32k stars 1.25k forks source link

i cant install pyautogui #483

Open zomzomzombazombi opened 4 years ago

zomzomzombazombi commented 4 years ago

Hi, i am trying to learn about python, i almost have little to zero experience. this is how it went trying to install pyautogui. i hope you can help

erişim engellendi means access denied

C:\Users\ADMİN\AppData\Local\Programs\Python\Python38\Scripts>pip install PyAutoGui Collecting PyAutoGui Downloading PyAutoGUI-0.9.52.tar.gz (55 kB) |████████████████████████████████| 55 kB 357 kB/s Collecting pymsgbox Downloading PyMsgBox-1.0.9.tar.gz (18 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing wheel metadata ... done Collecting PyTweening>=1.0.1 Downloading PyTweening-1.0.3.zip (15 kB) Collecting pyscreeze>=0.1.21 Downloading PyScreeze-0.1.26.tar.gz (23 kB) Collecting pygetwindow>=0.0.5 Downloading PyGetWindow-0.0.9.tar.gz (9.7 kB) Collecting mouseinfo Downloading MouseInfo-0.1.3.tar.gz (10 kB) Requirement already satisfied: Pillow>=6.2.1 in c:\anaconda\lib\site-packages (from pyscreeze>=0.1.21->PyAutoGui) (7.2.0) Collecting pyrect Downloading PyRect-0.1.4.tar.gz (15 kB) Collecting pyperclip Downloading pyperclip-1.8.1.tar.gz (20 kB) Building wheels for collected packages: PyAutoGui, pymsgbox, PyTweening, pyscreeze, pygetwindow, mouseinfo, pyrect, pyperclip WARNING: Building wheel for PyAutoGui failed: [WinError 5] Erişim engellendi: 'c:\users\admi̇n\appdata\local\pip\cache\wheels' WARNING: Building wheel for pymsgbox failed: [WinError 5] Erişim engellendi: 'c:\users\admi̇n\appdata\local\pip\cache\wheels' WARNING: Building wheel for PyTweening failed: [WinError 5] Erişim engellendi: 'c:\users\admi̇n\appdata\local\pip\cache\wheels' WARNING: Building wheel for pyscreeze failed: [WinError 5] Erişim engellendi: 'c:\users\admi̇n\appdata\local\pip\cache\wheels' WARNING: Building wheel for pygetwindow failed: [WinError 5] Erişim engellendi: 'c:\users\admi̇n\appdata\local\pip\cache\wheels' WARNING: Building wheel for mouseinfo failed: [WinError 5] Erişim engellendi: 'c:\users\admi̇n\appdata\local\pip\cache\wheels' WARNING: Building wheel for pyrect failed: [WinError 5] Erişim engellendi: 'c:\users\admi̇n\appdata\local\pip\cache\wheels' WARNING: Building wheel for pyperclip failed: [WinError 5] Erişim engellendi: 'c:\users\admi̇n\appdata\local\pip\cache\wheels' Failed to build PyAutoGui pymsgbox PyTweening pyscreeze pygetwindow mouseinfo pyrect pyperclip ERROR: Could not build wheels for pymsgbox which use PEP 517 and cannot be installed directly

Xyndra commented 4 years ago

Maybe you should try starting cmd in admin mode(Search bar and then right click).

karimk123 commented 4 years ago

Try it in admin mode but also side note: PLEASE add python to your path. it so much easier than navigating to the python directory every time.