Error updating Stretch RE1 OS

I am trying to update my stretch re1 to Ubuntu 20, and I was succesfully able to update Ubuntu but when running ./stretch_new_robot_install.sh as described in this guide I get an error during the “installation of user level pip3 packages.”
I have attached a screenshot of the terminal for reference. I tried to attach the log error file but it said that new users cannot attach files. Any help fixing this issue would be greatly appreciated!

Hey @Edelio_Taboada, I’ve made you a “member”, so you should be able to attach files now.

Thank you, here are the logs:

stretch_robot_install_logs.zip (5.4 KB)

Had this issue yesterday as well, I believe it had something to do with an issue running pip cache: when I attempted to run a pip cache purge, it would return ERROR: unknown command "cache" - maybe you meant "check"

First make sure you’ve upgraded pip: sudo python3 -m pip install pip --upgrade --force

Running pip3 cache purge worked for me, so I added alias pip=pip3 to my .bashrc file. I suspect pip was trying to use Python 2 instead

Removed previous robot install from .bashrc and opened a new terminal, then reran the new robot install

Hope this also works for you :+1:

1 Like

Thank you! This solved that issue

2 Likes