See Error after upgrading pip: cannot import name 'main' on Stack Overflow for details. It's important to upgrade the version for Python 3 first, because the one you upgrade last will later be accessible through pip, which must be pip2 by default.Īs of pip version 10 (I think), the pip/ pip3 command is broken, due to a change in the package structure which is not compatible with the launch scripts provided from the python-pip/ python3-pip packages from apt. Note that I upgrade both pips for Python 2 and Python 3. Or you can upgrade it for your user only using the -user option: pip3 install -upgrade -user pip You can either upgrade pip globally using sudo: sudo pip3 install -upgrade pip
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |