Pip: `pip install` ignores `--force-reinstall`

Created on 27 Feb 2017  路  2Comments  路  Source: pypa/pip

  • Pip version: 9.0.1
  • Python version: 3.6.0
  • Operating system: Reproduced on both Ubuntu 17.04 and OS X.

Description:

I tried to force reinstall a package, but pip states that the requirement is already satisfied, as is --force-reinstall isn't passed at all.

What I've run:

$ pip3 install --force-reinstall virtualenv
Requirement already satisfied: virtualenv in /usr/local/lib/python3.6/site-packages
auto-locked

Most helpful comment

So I should've used --ignore-installed. I just assumed this was a bug based on the --force-reinstall description.

All 2 comments

The first google result for pip force-reinstall is SO question Can I force pip to reinstall the current version? with solution.

So I should've used --ignore-installed. I just assumed this was a bug based on the --force-reinstall description.

Was this page helpful?
0 / 5 - 0 ratings