Timeline for Python 3 AttributeError: module 'serial' has no attribute 'Serial' [duplicate]
Current License: CC BY-SA 4.0
Post Revisions
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 1, 2020 at 15:15 | history | closed |
gre_gor Community Bot |
Duplicate of 'module' object has no attribute 'Serial' | |
| Jul 1, 2020 at 15:15 | answer | added | PwnDoS | timeline score: 0 | |
| Jul 1, 2020 at 0:11 | comment | added | PwnDoS | I looked in my directory and couldn't find any file named 'serial.py'. Jason's code returned a file named 'init.py'. I have a folder named "serial' in my directory, but that was installed when I ran pip. | |
| Jun 29, 2020 at 22:40 | review | Close votes | |||
| Jul 1, 2020 at 15:20 | |||||
| Jun 29, 2020 at 22:26 | comment | added | gre_gor | or Python AttributeError: 'module' object has no attribute 'Serial' | |
| Jun 29, 2020 at 22:20 | history | edited | gre_gor |
Nothing to do with Arduino
|
|
| Jun 29, 2020 at 22:20 | answer | added | mohamed martini | timeline score: 0 | |
| Jun 29, 2020 at 21:52 | comment | added | jasonharper |
An error "like I don't have serial installed" would be an ImportError. This looks more like you have a serial.py file somewhere, that is being imported instead of the actual module. Do import serial; print(serial.__file__) to see where it is.
|
|
| Jun 29, 2020 at 21:44 | history | asked | PwnDoS | CC BY-SA 4.0 |