AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Sudo apt get install python3 tk11/28/2023 I had this problem too, even with sudo apt-get install python3-tk python3-dev it didn't work.įirstly try to run this command specifying python version, for example, in python 3.10: sudo apt-get install python3.10-tk python3-dev Run theįollowing: sudo apt-get install python3-tk python3-dev NOTE: You must install Tkinter on Linux to use MouseInfo. Pip freeze > requirements.txt (of the virtualenv that I tried to run a python file with Pyautogui) altgraph=0.17Īre there other dependencies that I need to install? I don't know what else to do. Requirement already satisfied: pyperclip in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from mouseinfo->pyautogui) (1.8.1) Requirement already satisfied: Pillow>=6.2.1 in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from pyscreeze>=0.1.21->pyautogui) (8.0.1) Requirement already satisfied: pyrect in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from pygetwindow>=0.0.5->pyautogui) (0.1.4) Requirement already satisfied: python3-Xlib in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from pyautogui) (0.15) Requirement already satisfied: mouseinfo in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from pyautogui) (0.1.3) Requirement already satisfied: pygetwindow>=0.0.5 in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from pyautogui) (0.0.9) Requirement already satisfied: pyscreeze>=0.1.21 in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from pyautogui) (0.1.26) Requirement already satisfied: PyTweening>=1.0.1 in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from pyautogui) (1.0.3) Requirement already satisfied: pymsgbox in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (from pyautogui) (1.0.9) Python3-tk is already the newest version (3.8.5-1~20.04.1).Ġ upgraded, 0 newly installed, 0 to remove, and 0 not upgraded.Īnd if I try: pip3 install pyautogui Requirement already satisfied: pyautogui in /home/lucas/.virtualenvs/recursos/lib/python3.8/site-packages (0.9.52) Run the following: sudo apt-get install python3-tk python3-devĪnd if I try: sudo apt-get install python3-tk python3-dev python3-dev is already the newest version (3.8.2-0ubuntu2). It doesn't matter what dependency I install, everytime I try to use Pyautogui, it returns: NOTE: You must install Tkinter on Linux to use MouseInfo. I've been trying to use Pyautogui at Ubuntu, but I simply can't make it work, while I have no trouble doing it at Windows.
0 Comments
Read More
Leave a Reply. |