Pip doesn't install latest available version from pypi (argparse in this case)

前端 未结 2 1943
生来不讨喜
生来不讨喜 2020-12-31 03:30

The problem

I worked on some python projects lately and had lots of problems with pip not installing the latest versions of some requirements. I am on

2条回答
  •  北海茫月
    2020-12-31 03:55

    I think this line is the key:

    Some externally hosted files were ignored (use --allow-external to allow).

    When I install argparse here I get

    You are installing an externally hosted file. Future versions of pip will default to disallowing externally hosted files.

    Downloading argparse-1.2.1.tar.gz (69kB): 69kB downloaded

    So you have a newer version of pip that is disallowing externally hosted files by default

提交回复
热议问题