Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6195

Pyserial not finding ports in Ubuntu 22.04

$
0
0

I am trying to communicate with a device using Python 3.10.6 in Ubuntu 22.04 but can't. I have been using this device for years with previous Ubuntu versions, so I know how to use it.

Test code:

import serial.tools.list_portsp = serial.tools.list_ports.comports()print(p)

prints []. If I run

python -m serial.tools.list_ports

I get no ports found.

How can I fix this?


Viewing all articles
Browse latest Browse all 6195

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>