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 13:40] 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 user>wget http://qt-mirror.dannhauer.de/archive/online_installers/2.0/qt-unified-linux-x64-2.0.2-2-online.run</code> | ||
+ | |||
+ | <code root>chmod a+x qt-unified-linux-x64-2.0.2-2-online.run</code> | ||
+ | <code root>./qt-unified-linux-x64-2.0.2-2-online.run</code> | ||
+ | <code user>export QTDIR=/opt/Qt/5.5/gcc_64/</code> | ||
+ | <code user>export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${QTDIR}/lib</code> | ||
+ | <code user>export PATH=${QTDIR}/bin:${PATH}</code> | ||
+ | <code user>ln -s /opt/Qt/5.5/gcc_64/bin/qmake</code> | ||
+ | <code user>rm /usr/lib/python3/dist-packages/sip*</code> | ||
+ | <code user>wget http://skylink.dl.sourceforge.net/project/pyqt/sip/sip-4.17/sip-4.17.tar.gz</code> | ||
+ | <code user>tar -zxvf sip-4.17.tar.gz</code> | ||
+ | <code user>cd sip-4.17/</code> | ||
+ | <code user>python3 configure.py</code> | ||
+ | <code user>make</code> | ||
+ | <code root>make install</code> | ||
+ | <code user>python3</code> | ||
+ | <code>>>> import sip</code> | ||
+ | <code>>>> print(sip.SIP_VERSION_STR)</code> | ||
+ | <code>>>> exit()</code> | ||
+ | <code user>wget http://netcologne.dl.sourceforge.net/project/pyqt/PyQt5/PyQt-5.5.1/PyQt-gpl-5.5.1.tar.gz</code> | ||
+ | <code user>tar -zxvf PyQt-gpl-5.5.1.tar.gz</code> | ||
+ | <code user>cd PyQt-gpl-5.5.1/</code> | ||
+ | <code user>python3 configure.py</code> | ||
+ | <code user>make</code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
+ | <code user></code> | ||
===== Utilisation ===== | ===== Utilisation ===== | ||