Python3.8.2にPyAutoGUIモジュールをインストール(Windows10)

Python3.8.2にPyAutoGUIモジュールをインストールします。(Windows10)

■Python

Pythonバージョン

今回のPythonのバージョンは、「3.8.2」を使用しています。

■PyAutoGUIモジュールをインストール

PyAutoGUIモジュールをインストールする際は、まずWindowsのコマンドプロンプトを起動させます。

pip install PyAutoGUI

上記のコマンドを入力し、Enterキーを押します。pipを経由してインストールします。

Collecting PyAutoGUI
Downloading PyAutoGUI-0.9.50.tar.gz (57 kB)
|████████████████████████████████| 57 kB 405 kB/s
Collecting pymsgbox
Downloading PyMsgBox-1.0.8.tar.gz (18 kB)
Installing build dependencies … done
Getting requirements to build wheel … 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.8.tar.gz (9.6 kB)
Collecting mouseinfo
Downloading MouseInfo-0.1.3.tar.gz (10 kB)
Collecting Pillow>=6.2.1
Downloading Pillow-7.2.0-cp38-cp38-win_amd64.whl (2.1 MB)
|████████████████████████████████| 2.1 MB 1.6 MB/s
Collecting pyrect
Downloading PyRect-0.1.4.tar.gz (15 kB)
Collecting pyperclip
Downloading pyperclip-1.8.0.tar.gz (16 kB)
Could not build wheels for PyAutoGUI, since package ‘wheel’ is not installed.
Could not build wheels for PyTweening, since package ‘wheel’ is not installed.
Could not build wheels for pyscreeze, since package ‘wheel’ is not installed.
Could not build wheels for pygetwindow, since package ‘wheel’ is not installed.
Could not build wheels for mouseinfo, since package ‘wheel’ is not installed.
Could not build wheels for pyrect, since package ‘wheel’ is not installed.
Could not build wheels for pyperclip, since package ‘wheel’ is not installed.
Building wheels for collected packages: pymsgbox
Building wheel for pymsgbox (PEP 517) … done
Created wheel for pymsgbox: filename=PyMsgBox-1.0.8-py3-none-any.whl size=7418 sha256=5f5d92ba39e8ba84e8c311183df8e02c80630a47b03f34e847df227df66a2143
Stored in directory: c:\users\user\appdata\local\pip\cache\wheels\80\1d\fe\595e212847aea2bf5d46d12e9b7bf09e099b34fa296bad338b
Successfully built pymsgbox
Installing collected packages: pymsgbox, PyTweening, Pillow, pyscreeze, pyrect, pygetwindow, pyperclip, mouseinfo, PyAutoGUI
Running setup.py install for PyTweening … done
Running setup.py install for pyscreeze … done
Running setup.py install for pyrect … done
Running setup.py install for pygetwindow … done
Running setup.py install for pyperclip … done
Running setup.py install for mouseinfo … done
Running setup.py install for PyAutoGUI … done
Successfully installed Pillow-7.2.0 PyAutoGUI-0.9.50 PyTweening-1.0.3 mouseinfo-0.1.3 pygetwindow-0.0.8 pymsgbox-1.0.8 pyperclip-1.8.0 pyrect-0.1.4 pyscreeze-0.1.26

Enterキーを押すと、インストールが開始されます。「Successfully installed」と表示されれば、正常にインストールが完了されます。

コメント

タイトルとURLをコピーしました