(Oct-25-2021, 06:07 AM)korenron Wrote: but I deleate it before ?If you look at error message so is path not the same,you have two Python 3 version.
like you told me in the previous post
So
/usr/lib/python3/
is the old version that comes with OS.Then i guess you have installed a newer version at
/home/pi/.local/lib/python3.7
When run it switch to try using serial that have been installed for old Python 3.
rm -r /usr/lib/python3/dist-packages/serial/