Étape 7: Installation pySerial
Etape 1: Ouvrez votre Terminal de Mac (vous pouvez trouver Terminal dans une recherche spotlight), puis tapez « cd ». Ensuite, glisser le dossier « pyserial-2.7 » dans la fenêtre de terminal et cliquez sur valider. La fenêtre doit ressembler à :
~ Home$ cd /Users/Home/Desktop/pyserial-2.7 :pyserial-2.7 Home$
Étape 2: Copiez ce texte, « sudo python setup.py install » dans le Terminal et appuyez sur entrer. Il vous demandera votre mot de passe. La fenêtre doit maintenant ressembler à :
~ Home$ cd /Users/Home/Desktop/pyserial-2.7 :pyserial-2.7 Home$ sudo python setup.py installPassword:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_2to3' warnings.warn(msg)running installrunning buildrunning build_pyrunning build_scriptsrunning install_librunning install_scriptschanging mode of /usr/local/bin/miniterm.py to 755running install_egg_infoRemoving /Library/Python/2.7/site-packages/pyserial-2.7-py2.7.egg-infoWriting /Library/Python/2.7/site-packages/pyserial-2.7-py2.7.egg-info:pyserial-2.7 Home$
Félicitations ! Vous venez d’installer pySerial !