简体   繁体   中英

How do I make pip display the latest version of a package on PyPI?

How can I make pip show the latest version of a package on PyPI? When I search for a package, no version information is shown.

For example:

> pip search aiozmq
aiozmq                    - ZeroMQ integration with asyncio.

There is no such option in pip. pip will only tell you if installed packages have an update available, with pip list -o

You can use yolk , however to get the latest version number:

$ yolk -V aiozmq | head
aiozmq 0.5.0

Install yolk , or yolk3k (for Python 3 compatibility) with .... pip install yolk .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM