dhylands / usb-ser-mon

Auto connect to USB Serial devices.
MIT License
48 stars 29 forks source link

usb_ser_mon is not working as a module #10

Open Its-Just-Nans opened 9 months ago

Its-Just-Nans commented 9 months ago

Hello

It looks like the usb_ser_mon is not found after installing it

python -m pip install usb_ser_mon

# as a binary
usb_ser_mon
# ModuleNotFoundError: No module named 'usb_ser_mon'

# inside python
python -c "import usb_ser_mon"
# ModuleNotFoundError: No module named 'usb_ser_mon'

# as a python module
python -m usb_ser_mom
# /usr/bin/python: No module named usb_ser_mom

Is that normal ?

Could we refactor the package code to be compatible ?