![]() Running the pip3 upgrade breaks pip: $ sudo python3 -m pip install pip -upgrade -force-reinstall I get that we’re trying to get users to migrate away from python 2.x, but there are plenty of people that still (and still will) use python 2.x and have historically been using pip to install python 2.x packages. ![]() I think there’s a pretty long-running convention that python -> 2.x and python3 -> 3.x - for that same reason, the convention should hold with pip -> python 2.x and pip3 -> python 3.x - doing otherwise is just confusing. If you run sudo pip3 install pip -update it will update pip3, but it will also update the pip binary and now running pip to install a package will install the package for Python 3.x, not 2.x ![]() sudo apt-get install pip) you get pip3 for Python 3.x. sudo apt-get install python-pip) you get pip for Python 2.x.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |