3 Posts Tagged ‘pip’

(All tags.)

How to Fix Pip “Yanked Version” Warnings

Are you yanking my chain?

Sometimes pip install will flag a warning saying “The candidate selected for download or install is a yanked version”. For example, if we install attrs version 21.1.0:


Use ‘python -m pip’ Everywhere

Everywhere I tell you! Everywhere!

I’ve just moved all my open source repositories from using plain pip to python -m pip, in test scripts and documentation.


‘pip install’ From a Git Repository

Cat with ball

It’s quite common to want to pip install a version of a package that hasn’t been released to PyPI, but is available on its Git repository host, such as GitHub. If the package is pure Python or has a relatively simple build process, you can normally install it directly via Git.