connexion_une_brother_kh950_un_ordinateur
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
connexion_une_brother_kh950_un_ordinateur [2023/05/30 23:48] – [Installation du logiciel de pilotage du shield] Benjamin Labomedia | connexion_une_brother_kh950_un_ordinateur [2023/06/12 23:07] – [Installation du logiciel de pilotage du shield] Benjamin Labomedia | ||
---|---|---|---|
Ligne 25: | Ligne 25: | ||
Des [[https:// | Des [[https:// | ||
- | === Sur linux debian 11, un peu tricky ! === | + | === Sur linux debian 11 et linuxmint 20, ubuntu focal, un peu tricky ! === |
- | sudo apt-get install python3-pip python3-dev python3-virtualenv python3-gi | + | Si l' |
- | sudo usermod -a -G tty [userName] | + | sudo apt-get install python3-pip python3-dev python3-virtualenv python3-gi |
- | sudo usermod -a -G dialout | + | sudo usermod -a -G tty labomedia |
- | + | sudo usermod -a -G dialout | |
- | Checkout the git repository | + | cd Documents/ |
git clone https:// | git clone https:// | ||
- | Create a virtual enviroment in the cloned repository | + | |
- | | + | |
virtualenv -p python3 --system-site-packages venv/ | virtualenv -p python3 --system-site-packages venv/ | ||
source venv/ | source venv/ | ||
- | pip3 install -r requirements.txt | ||
- | | ||
- | Pour réussir à faire marcher l' | ||
pip install --upgrade pip | pip install --upgrade pip | ||
pip install -U PyQt5_sip | pip install -U PyQt5_sip | ||
- | pip install PyQt5==5.12.2 | + | pip install PyQt5==5.15 |
- | Pour finalement commenter avec un "#" la ligne pyqt5==5.11.3 | + | pip install Pillow |
+ | pip install -U PyQt5_sip | ||
+ | nano requirements.txt | ||
+ | Commenter les 2 premières lignes | ||
+ | # | ||
+ | #Pillow==4.1.0 | ||
+ | pyserial==3.3 | ||
+ | sliplib==0.3.0 | ||
+ | fysom==2.1.3 | ||
+ | playsound==1.2.2 | ||
+ | fbs==0.2.8 | ||
+ | PyInstaller==3.4 | ||
+ | Installer ensuite les requirements | ||
pip install -r requirements.txt | pip install -r requirements.txt | ||
- | + | Puis lancer l' | |
- | Pour lancer l' | + | |
python3 -m fbs run | python3 -m fbs run | ||
+ | ça marche ! | ||
- | Supprimer | + | Pour recommencer en supprimant |
deactivate (au prompt) | deactivate (au prompt) | ||
ou | ou | ||
- | rm -r venv | + | rm -r venv (plus radical, ça vire tout le venv) |
| | ||
connexion_une_brother_kh950_un_ordinateur.txt · Dernière modification : 2023/06/15 17:19 de Benjamin Labomedia