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

风流意气都作罢 提交于 2019-12-03 05:55:47

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

Here's the command I used to install argparse using pip 1.5.4:

pip install --allow-all-external argparse==1.2.1
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!