How to install the serial module into cygwin (terminal)

  • Thread starter Nate Duong
  • Start date
  • #1
126
3
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
 

Answers and Replies

  • #2
D H
Staff Emeritus
Science Advisor
Insights Author
15,393
685
pip install pyserial
 
  • #3
1,065
54
Any other reason why you installed cygwin? I mean, with Python being multi platform, you could have installed it directly onto windows
 

Related Threads on How to install the serial module into cygwin (terminal)

  • Last Post
Replies
8
Views
302
Replies
6
Views
911
  • Last Post
Replies
9
Views
7K
Replies
3
Views
3K
Replies
7
Views
5K
Replies
3
Views
895
Replies
6
Views
10K
Replies
6
Views
14K
Replies
2
Views
1K
Replies
0
Views
1K
Top