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.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:hypathie:tutos:python-trucs-et-machins [30/12/2015 10:34] Hypathie [Installer Eric python IDE] |
utilisateurs:hypathie:tutos:python-trucs-et-machins [30/12/2015 11:44] Hypathie [Installer Eric python IDE] |
||
---|---|---|---|
Ligne 76: | Ligne 76: | ||
====Installation simple de Eric5 depuis les sources==== | ====Installation simple de Eric5 depuis les sources==== | ||
+ | * Références : http://eric-ide.python-projects.org/eric-download.html | ||
1) On vérifie que le système est sous python2 (voir ci-dessus) | 1) On vérifie que le système est sous python2 (voir ci-dessus) | ||
Ligne 150: | Ligne 150: | ||
<code root>eric6</code> | <code root>eric6</code> | ||
- | {{http://pix.toile-libre.org/upload/original/1451467749.png?500}} | + | {{http://pix.toile-libre.org/upload/original/1451467749.png?00}} |
+ | |||
+ | ===Lancer eric6 en tant utilisateur=== | ||
+ | |||
+ | <code root>chmod a+w -R ~/.eric6</code> | ||
+ | |||
+ | <code user>eric6</code> | ||
+ | |||
+ | |||
+ | {{http://pix.toile-libre.org/upload/original/1451467749.png?00}} | ||
+ | |||
+ | Et voilà 8-) | ||
+ | |||
+ | ===Ajouter eric6 fr === | ||
+ | |||
+ | <code user>cd tmp/</code> | ||
+ | |||
+ | <code user>wget http://netcologne.dl.sourceforge.net/project/eric-ide/eric6/stable/6.1.0-RC1/eric6-i18n-fr-6.1.0-RC1.zip</code> | ||
+ | <code user>unzip eric6-i18n-fr-6.1.0-RC1.zip</code> | ||
+ | |||
+ | <code user>cd eric6-6.1.0-RC1/</code> | ||
+ | <code root>python3 install-i18n.py</code> | ||
+ | |||
+ | ===Installer Le plugin Django=== | ||
+ | |||
+ | * Depuis les références : http://eric-ide.python-projects.org/plugins6/repository.xml | ||
+ | On cherche l'url de django | ||
+ | <code><Plugin status="stable"><Name>Project, Django</Name><Short>Basic support for Django projects.</Short><Description> | ||
+ | This plug-in implements support for Django projects. It includes | ||
+ | API files for the various Django versions and a Django menu offering | ||
+ | various Django related actions from within eric5. | ||
+ | </Description><Url>http://eric-ide.python-projects.org/plugins6/stable/PluginProjectDjango.zip</Url><Author>Detlev Offenbach <detlev@die-offenbachs.de></Author><Version>4.0.2</Version><Filename>PluginProjectDjango-4_0_2.zip</Filename></Plugin></code> | ||
+ | |||
+ | * On copie l'url et on télécharge le plugin : | ||
+ | <code user>cd ~/tmp</code> | ||
+ | <code user>wget http://eric-ide.python-projects.org/plugins6/stable/PluginProjectDjango.zip</code> | ||
+ | |||
+ | * On ouvre eric6 | ||
+ | On clique sur l'onglet Plugins > Installation de plugins > puis ajouter \\ | ||
+ | On cherche dans ~/tmp/sonPlugin.zip\\ | ||
+ | On le sélectionne : | ||
+ | |||
+ | {{http://pix.toile-libre.org/upload/original/1451471865.png?900}} | ||
+ | |||
+ | Puis ''ouvrir'' > ''suivant'' > ''suivant'' > ''install'' | ||
+ | |||
+ | Eric6 redémarre et si tout est bon on peut créer un projet de type Django | ||
+ | |||
+ | |||
+ | |||
+ | Et voilà 8-) | ||
+ | |||
+ | ===Désinstaller eric6=== | ||
+ | |||
+ | * On se déplace dans le fichier ''tmp/eric6-6.1.0'' | ||
+ | <code user>cd tmp/eric6-6.1.0/</code> | ||
+ | |||
+ | <code root>python3 uninstall.py</code> | ||
+ | |||
+ | * Pour désinstaller les dépendances | ||
+ | <code root>apt-get remove python3-pyqt5 python3-pyqt5-dbg python3-pyqt4.qsci python3-pyqt5.qtx11extras python3-pyqt5.qtsql python3-pyqt5.qtsql-dbg python3-pyqt5.qtx11extras-dbg python3-pyqt5.qsci python3-pyqt5.qsci-dbg python-pyqt5.qtsvg python3-pyqt5.qtsvg-dbg python-pyqt5.qtwebkit python-pyqt5.qtwebkit-db python3-pyqt5.qtwebkit python3-pyqt5.qtwebkit-dbg</code> | ||
===== Utilisation ===== | ===== Utilisation ===== | ||