io.UnsupportedOperation: fileno #2176
-
Hello! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Did you install pyserial ? It seems you are running the sync client in an async environment, is there a reason for that ? it is very inefficient, and will likely cause problems. We supply the simple client example as both sync and async. fileno() is an integral part of pyserial, so you either do not have it installed or have an old version installed. |
Beta Was this translation helpful? Give feedback.
-
I ran into the same error on my windows pc I believe the reason is that pyserial doesn't support fileno() on windows ? |
Beta Was this translation helpful? Give feedback.
-
on my windows 10 pc, |
Beta Was this translation helpful? Give feedback.
Interesting, so it's a python 3.12 issue, and since pyserial in reality isn't maintained it probably have not been properly tested.
Staying with 3.11 is a good temporary solution, there is an open pull request that solves the problem.