![]() ![]() Ubuntu packages pip via apt, not via pypi. The system-installed pip has this behaviour as well, and there are some packages which don't install correctly with a pip this old, so the only thing to do is manually track a working version of pip, force-install exactly that version, and ignore the repeated prompts to upgrade. Note that the prompt doesn't just show up in a virtualenv. ![]() ![]() You should consider upgrading via the 'pip install -upgrade pip' command.ġ00% |#| 1.5MB 405kB/sįile "/home/administrator/test/lib/python3.5/site-packages/pip/_internal/cli/main.py", line 60 You are using pip version 8.1.1, however version 21.0.1 is available. ![]() For example on an Ubuntu 16.04 machine if you create a new venv, the system pip that gets installed there immediately runs off to the internet to check itself and then prompt you to upgrade it:īuilding wheels for collected packages: pyyaml This would be fine if it were possible for distro maintainers to pick up the reins, but the pip maintainers have deliberately wrested control from them- they've basically decided that their recommended approach is for everyone to use the latest pip regardless of what interpreter they're using, especially in the case where you're using that interpreter in a virtualenv. Yes, I think it is a packaging bug, but it's reflective of an attitude where old stuff is hung out to dry even before the officially-committed time horizons have expired. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |