electronut / pp

Code for book Python Playground by Mahesh Venkitachalam (No Starch Press, USA)
564 stars 500 forks source link

small error in laser.py #17

Closed harikrishnavasala closed 6 years ago

harikrishnavasala commented 6 years ago

hi sir,i executed laser.py in windows in a cmd but when i given --port COM3 executed. but ,small error saying AttributeError:'module' object as no attrubute 'Serial'

harikrishnavasala commented 6 years ago

@electronut i imported serial module but in execution it saying

AttributeError:'module' object as no attrubute 'Serial

electronut commented 6 years ago

Please see the book Appendix for required python module installation. You probably don't have pyserial installed.