Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to install the serial module into cygwin (terminal)

  1. Sep 23, 2015 #1
    Dear group,

    I downloaded this software "cygwin," (terminal), and trying to run Python on
    this software but i failed on the installing the serial,
    Could you please give me some ideal?

    Thank you,

    Best regards,

    Nate Duong.


    $ python Blinking_off.py

    Traceback (most recent call last):
    File "Blinking_off.py", line 2, in <module>
    import serial
    ImportError: No module named serial
     
  2. jcsd
  3. Sep 23, 2015 #2

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    pip install pyserial
     
  4. Sep 24, 2015 #3
    Any other reason why you installed cygwin? I mean, with Python being multi platform, you could have installed it directly onto windows
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: How to install the serial module into cygwin (terminal)
Loading...