Ask coding questions

← Back to all posts
Python AttributeError: 'module' object has no attribute 'Serial'
lvaroHuidobro (1)

This is my first project with Python (disclaimer: I have very little programming experience), it's supposed to turn on an LED when I receive a message, but this error appears when I run it (I am running it on Windows 10, 64 bits).

What can I do in order to fix it? Thanks in advance and sorry for any dumb mistake I may have committed.

Answered by imcraft (27) [earned 5 cycles]
View Answer
imcraft (27)

Repl is running on a VM, not your system. You would have to download something like Visual Studio Code on your PC and maybe try that.

SoulZGamer (0)

@imcraft could you explain to me , im having the same problem but with file that i made. not modules