Modifications

Sauter à la navigation Sauter à la recherche
Ligne 10 : Ligne 10 :  
'''Pour les utilisateurs Window''': vous aurez besoin d'installer Python. Durant l'installation, sélectionnez le ''checkbox'' permettant d'ajouter le répertoire d'installation de Python à votre PATH système.
 
'''Pour les utilisateurs Window''': vous aurez besoin d'installer Python. Durant l'installation, sélectionnez le ''checkbox'' permettant d'ajouter le répertoire d'installation de Python à votre PATH système.
   −
Once Python is avaialble on your system you can easily install ampy from the Python package index. If you're using '''Python 2.7.x''' open a terminal and run this command:
+
Une fois Python disponible sur votre système vous pouvez facilement installer ampy depuis ''Python package index''. Si vous utilisez '''Python 2.7.x''', ouvrez un terminal et exécutez la commande suivante:
    
  <nowiki>pip install adafruit-ampy</nowiki>
 
  <nowiki>pip install adafruit-ampy</nowiki>
   −
Note on some Linux and Mac OSX systems you might need to install as root with sudo:
+
Note: sur certains systèmes Linux et Mac OSX, vous pourriez avoir besoin d'installer le paquet en tant que root avec la commande sudo:
    
  <nowiki>sudo pip3 install adafruit-ampy</nowiki>
 
  <nowiki>sudo pip3 install adafruit-ampy</nowiki>
   −
Or if you'd like to use Python 3.x run the pip3 command instead (using sudo if necessary):
+
Ou si vous désirez utiliser Python 3.x, utilisez la commande pip3 à la place de pip (en utilisant sudo si nécessaire):
    
  <nowiki>pip3 install adafruit-ampy</nowiki>
 
  <nowiki>pip3 install adafruit-ampy</nowiki>
Ligne 24 : Ligne 24 :  
{{ADFImage|FEATHER-CHARGER-FICHIER-MICROPYTHON-AMPY-00.png}}
 
{{ADFImage|FEATHER-CHARGER-FICHIER-MICROPYTHON-AMPY-00.png}}
   −
Finally in some rare cases like Mac OSX with Homebrew and multiple Python versions installed you might need to use the pip2 command to explicitly install in Python 2.7.x:
+
Finalement, dans de rare cas tel que Mac OSX avec Homebrew et de multiples version de Python installés vous pourriez avoir besoin d'utiliser la commande pip2 pour installer explicitement le paquet dans Python 2.7.x:
    
  <nowiki>pip2 install adafruit-ampy</nowiki>
 
  <nowiki>pip2 install adafruit-ampy</nowiki>
   −
Make sure the pip command finishes without an error. If you see an error then go back and check you have python installed and are running it as root with sudo if necessary.
+
Verifiez que la commande pip finisse sa tâche sans erreur. Si vous constatez une erreur alors revenez en arrière, vérifiez l'installation de Python et exécutez vos opération en tant que ''root'' avec l'instruction {{fname|sudo}}.
    
To check that ampy installed successfully run the following command to print its usage:
 
To check that ampy installed successfully run the following command to print its usage:
29 917

modifications

Menu de navigation