Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install pyserial Mac OS 10.10?

Attempting to communicate with Arduino serial ports using Python 2.7. Have downloaded pyserial 2.7 (unzipped and put folder pyserial folder in python application folder). Didn't work error message. "No module named pyserial".

Confused about how to install from terminal. Any assistance greatly appreciated.

http://mac.softpedia.com/get/Developer-Tools/pySerial.shtml

like image 894
Daryl Croke Avatar asked Jul 05 '15 09:07

Daryl Croke


2 Answers

try install with :

sudo pip install pyserial
like image 61
maziar navahan Avatar answered Oct 03 '22 14:10

maziar navahan


This was helpful for me: http://www.maclife.com/article/feature/25_terminal_tips_every_mac_user_should_know

Specifically:

For commands that require the path to a file or folder, save yourself some typing by dragging and dropping the file or folder at the end of the command. The Terminal will automatically copy the dropped item’s path and name.

So I clicked and dragged my pyserial fodler into terminal, hit enter, terminal said that it was a directory, then i typed "sudo install pyserial" and typed my password in and hit enter.

This was helpful when I couldn't figure out how to enter my password:

http://ubuntuforums.org/showthread.php?t=2214900

like image 42
Mike DeRosa Avatar answered Oct 03 '22 12:10

Mike DeRosa