PROS 3 Installation: module ‘serial’ has no attribute ‘Serial’

Hello there,

I’m trying to install Pros for V5 on a linux machine

I’m following the instructions according to this page
https://pros.cs.purdue.edu/v5/getting-started/linux.html

To install the CLI, I used

python3.6 -m pip install --user https://github.com/purduesigbots/pros-cli/releases/download/3.1.4/pros_cli_v5-3.1.4-py3-none-any.whl

But I get the error message

AttributeError: module ‘serial’ has no attribute ‘Serial’

What have I done wrong?

Looks like for some reason the pyserial module wasn’t installed correctly?

Try

python3.6 -m pip install pyserial

And see if that fixes it

2 Likes

after a lot of digging I found that the problem was I had another python module called “serial” that seemed to interfere pyserial

after uninstalling it via pip everything started to work fine

thank you though!

Ah yeah that would do it.

Might be worth adding a note to the instructions about that- I seem to recall that happening to myself at some point a while ago

(Edit: that was mostly a note-to-self, but if someone wants to open a PR for that I won’t say no :slight_smile:)