Python Forum
serial connection to Arduino
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
serial connection to Arduino
#4
(Oct-21-2021, 09:03 AM)buran Wrote: It's hard to tell when we don't see the code and the full traceback, but I guess your own file is also named serial.py. Is that the case? Or do you have another file with that name? If yes, rename that file to something different.
In future always post the full traceback you get, in error tags

Thank you for your response. The file wasn't called serial.py. I did a search and did find junk left over from something called pyCharm which left some junk after I thought I had removed it. One of the files was serial something html
However today the problem seems to have resolved itself after I did some pip uninstall and pip install of serial and pyserial.
Reply


Messages In This Thread
serial connection to Arduino - by Jack9 - Oct-21-2021, 08:31 AM
RE: serial connection to Arduino - by buran - Oct-21-2021, 09:03 AM
RE: serial connection to Arduino - by Jack9 - Oct-22-2021, 10:08 AM
RE: serial connection to Arduino - by Larz60+ - Oct-21-2021, 09:47 AM
RE: serial connection to Arduino - by Jack9 - Oct-22-2021, 10:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  pyserial/serial "has no attribute 'Serial' " gowb0w 9 4,907 Aug-24-2023, 07:56 AM
Last Post: gowb0w
Star Pyserial not reading serial.readline fast enough while using AccelStepper on Arduino MartyTinker 4 4,250 Mar-13-2023, 04:02 PM
Last Post: deanhystad
  Serial connection connection issue Joni_Engr 15 8,310 Aug-30-2021, 04:46 PM
Last Post: deanhystad
  Serial loopback with Arduino doesn't work ThomasS 3 2,836 Sep-19-2020, 12:47 PM
Last Post: deanhystad
  Can't transmit serial fast Python to Arduino pyserial mRKlean 0 2,398 Mar-29-2020, 08:12 PM
Last Post: mRKlean
  assign the variable to every value received serial from Arduino barry76 4 3,390 Feb-01-2019, 10:19 AM
Last Post: barry76
  Not receiving serial data from arduino dinoel_cool 4 3,760 Aug-26-2018, 06:16 PM
Last Post: j.crater
  Serial Python and Arduino delfar 7 16,145 Mar-23-2017, 02:23 AM
Last Post: Larz60+
  Serial to Arduino Help Kwebersole 2 3,530 Feb-10-2017, 05:03 AM
Last Post: Kwebersole

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020