- Instalar python 3.5 (64bits recomendado se o computador suportar):
- Em linux já deve vir instalado, corre
python3
no terminal para verificar. (também pode serpython
mas confirma a versão) - Windows/Mac: https://www.python.org/downloads
-
Confirmar que o pip (o instalador de bibliotecas de python) está instalado, abrindo uma linha de comandos e correndo
pip3 --version
oupip --version
(confirma que diz ser para python 3.5 -
Instalar PyQt5.6, o QtDesigner5 e as ferramentas de conversão,
pyuic5
epyrcc5
. Se o python for de 64bits o PyQt tb tem de ser.
- Windows: https://www.riverbankcomputing.com/software/pyqt/download5
- Linux/Mac: varia com a distribuição, procura como fazes para a tua se não for Arch ou Ubuntu. Tens de garantir que consegues correr
pyuic5
epyrcc5
no terminal, correrpython3
oupython
e depois fazerimport PyQt5
e abrir o QtDesigner.- Ubuntu:
sudo apt-get install python3-pyqt5 pyqt5-dev-tools qttools5-dev-tools
. Para abrir o designer abre/usr/lib/x86_64-linux-gnu/qt5/bin/designer
- Arch:
sudo pacman -S python-pyqt5 qtcreator
. para abrir o designer, corredesigner
no terminal
- Ubuntu:
- Adicionar ao Python as bibliotecas Pillow, PyAutoGui e PySerial:
pip3 install pillow pyserial
oupip install pillow pyserial
seguido depip3 install pyautogui
oupip install pyautogui
(o pillow tem de ser instalado antes do pyautogui)
Para Mac OSX El Capitan 10.11.4:
4 - Para instalar com sucesso o pyautogui tive de instalar antes isto: http://pyautogui.readthedocs.io/en/latest/install.html
3 - Instalar PyQt5.6
(créditos: https://gist.github.com/vityafx/e01ab56d28a2c9467cc6)