Daryl Croke
Daryl Croke

Reputation: 91

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

Upvotes: 7

Views: 34378

Answers (2)

Mike DeRosa
Mike DeRosa

Reputation: 11

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

Upvotes: 1

maziar navahan
maziar navahan

Reputation: 73

try install with :

sudo pip install pyserial

Upvotes: 6

Related Questions