Petits projets en Python
Go to file
2022-07-25 14:58:24 +02:00
MatPlotLib No-gui backend error fixed 2022-07-25 14:52:36 +02:00
OpenCV OpenCV and PyQT codes added 2022-07-25 09:21:49 +02:00
PyQt Program modified 2022-07-25 11:36:46 +02:00
SpiraleRectangle SpiraleRectangle little project added 2022-07-25 09:31:30 +02:00
.gitignore Python venv file exclusion 2022-07-25 10:53:22 +02:00
LICENSE Initial commit 2022-07-25 04:59:08 +02:00
README.md Instructions updated 2022-07-25 14:58:24 +02:00

Python

Petits projets en Python regroupés dans des répertoires partageant un environnement virtuel similaire.

Pour installer chaque répertoire DIR:

cd $DIR
python -m venv ./
pip3 install -r requirements.txt

Pour exécuter les programes:

#Shell POSIX
source ./bin/activate

Pour quitter lenvironement:

#Shell POSIX
deactivate

Dans le cas de MatPlotLib/ une installation des paquets DEB libgirepository1.0-dev, gcc, libcairo2-dev, pkg-config, python3-dev et gir1.2-gtk-3.0 peut être nécessaire¹. La commande pip3 vient après. Ainsi MatPlotLib peut afficher ses graphes via GTK+3.