Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:python-trucs-et-machins [28/12/2015 08:17] Hypathie créée |
utilisateurs:hypathie:tutos:python-trucs-et-machins [29/12/2015 09:34] Hypathie [Installer Eric6 python] |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== TPython trucs et machins ====== | + | ====== Python trucs et machins ====== |
* Objet : du tuto FIXME | * Objet : du tuto FIXME | ||
Ligne 44: | Ligne 44: | ||
<code retour>Python 3.4.2</code> | <code retour>Python 3.4.2</code> | ||
- | ===== Installation ===== | + | ===== Installer Eric6 python===== |
+ | <code text script_installEric6> | ||
+ | #!/bin/sh | ||
+ | |||
+ | apt-get install mercurial build-essential qt5-default qtbase5-dev qttools5-dev-tools libqt5scintilla2-11 python3-pyqt5.qtwebkit python3-pyqt5.qtsvg python3-pyqt5.qtsql | ||
+ | |||
+ | mkdir temp | ||
+ | |||
+ | cd temp | ||
+ | |||
+ | apt-get source python3-pyqt5.qsci | ||
+ | |||
+ | cd qscintilla2-2.8.4+dfsg/Python/ | ||
+ | |||
+ | python3 configure.py --pyqt=PyQt5 \ #On indique qu'on souhaite utiliser pyqt5 | ||
+ | -q /usr/lib/x86_64-linux-gnu/qt5/bin/qmake \ #Chemin du compilateur qmake livré avec qt5 | ||
+ | -d /usr/lib/python3/dist-packages/PyQt5 # Chemin d'installation de PyQt5 | ||
+ | |||
+ | make | ||
+ | |||
+ | make install | ||
+ | |||
+ | cd ../.. | ||
+ | |||
+ | hg clone http://die-offenbachs.homelinux.org:48888/hg/eric | ||
+ | |||
+ | cd eric | ||
+ | |||
+ | python3 install.py | ||
+ | </code> | ||
===== Utilisation ===== | ===== Utilisation ===== | ||