cd updipy_project_dir # setup.py is here.
pip3 install --user .
# or install from Github repo.
pip3 install --user git+https://github.com/nosuz/updipy/tree/main/updipy
pip3 uninstall updipy
If you have installed the package named serial, it might be compete with pyserial. Both of them have the same modulde name serial.