pgielen
Posts: 9
Joined: Sun Feb 24, 2019 6:47 pm

Pip3 broken after upgrade from Stretch to Buster?

Tue Nov 19, 2019 11:11 pm

After upgrading Raspbian Stretch to Buster on my RPi3B+, I get a strange error message when trying to use pip3:

Code: Select all

pi@home:~ $ pip3 -v
Traceback (most recent call last):
  File "/usr/local/bin/pip3", line 7, in <module>
    from pip._internal.main import main
ModuleNotFoundError: No module named 'pip._internal.main'
I have tried to remove and reinstall pip3, but can't het rid of this error. What does this mean? How do I solve this? :?

Pierre

pcmanbob
Posts: 9298
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Pip3 bricked after upgrade from Stretch to Buster?

Wed Nov 20, 2019 10:12 am

It is not the recommended way to upgrade to buster , the recommended way is to flash the SD card with a new image and start over.
As ever with major version changes, our recommendation is that you download a new clean image from the usual place on our site – this will ensure that you are starting from a clean, working Buster system.

We do not recommend upgrading an existing Stretch (or earlier) system to Buster – we can’t know what changes everyone has made to their system, and so have no idea what may break when you move to Buster.

That does not guarantee it will work on your system, and we cannot provide support (or be held responsible) for any problems that arise if you try it. You have been warned – make a backup!
https://www.raspberrypi.org/blog/buster ... -raspbian/

the simple fix is to just start over with a fresh copy of buster.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Troubleshooting”