edi-riga / MansOS

MansOS WSN/embedded operating system
MIT License
5 stars 3 forks source link

E: Unable to locate package python-serial #2

Closed andrislapins closed 3 years ago

andrislapins commented 3 years ago

Could not download python-serial package with apt on Ubuntu 20.04. Temporary solution: comment out "pyhton-serial" on last line in mos/make/Makefile file.

DRG996 commented 3 years ago

also work when replace "pyhton-serial" to "pyhton3-serial"

jjanis commented 3 years ago

Duplicate of #1

erbanku commented 2 years ago

sudo apt install python3-serial works

EngineerHamziey commented 12 months ago

thanks so much @sungminlee114, I really appreciate. using python3-serial worked just like you said, I have spent hours on this before seeing this post. thanks once again. here is the command I used, in case anyone else needed it, "sudo apt -y install python3-serial"

Nadeem-Ullah commented 10 months ago

"sudo apt-get install python3-serial" and "sudo apt-y install python3-serial" both of them worked for me and it said that:

Reading package lists... Done Building dependency tree
Reading state information... Done python3-serial is already the newest version (3.4-5.1). 0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded.

But after that when I enter the following command: "miniterm /dev/ttyUSB5 -e" it gives me an error that:

ould not open port '/dev/ttyUSB5': [Errno 2] could not open port /dev/ttyUSB5: [Errno 2] No such file or directory: '/dev/ttyUSB5

Any help will be appreciated