Installation¶
AutoCore has been fully tested on Python 3.12. Using other versions may lead to compatibility issues with dependencies.
pip install autocore
Linux Dependencies¶
After installing, run the following based on your distro:
# Ubuntu/Debian
sudo apt-get install wmctrl xdotool python3-tk xclip xdg-utils espeak-ng alsa-utils
# RHEL/CentOS/Fedora
sudo yum install wmctrl xdotool python3-tkinter xclip xdg-utils espeak-ng alsa-utils
Package |
Used by |
Purpose |
|---|---|---|
|
|
List, focus, close, minimize, maximize, resize and move windows |
|
|
Minimize windows, restore them before resize/move, and get active window title |
|
|
Render the Pixel Inspector GUI window |
|
|
Read and write clipboard content via pyperclip |
|
|
Open files with their default application via xdg-open |
|
|
Text-to-phoneme conversion required internally by piper-tts |
|
|
Provides |
Chrome Installation¶
AutoCore uses Chrome for browser automation. Install it before using browser().
Windows:
winget install Google.Chrome
Linux (Ubuntu/Debian/Mint):
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt-get install -f -y
Linux (RHEL/CentOS/Fedora):
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
sudo rpm -i google-chrome-stable_current_x86_64.rpm