pip: query/install specific versions

Moderator: Forum moderators

Post Reply
s243a
Posts: 501
Joined: Mon Dec 09, 2019 7:29 pm
Has thanked: 90 times
Been thanked: 37 times

pip: query/install specific versions

Post by s243a »

I was recently tried to install a package via pip that gave me an error that suggested that dpup buster has too old a version of qt5 to work with this package. The thought occured to me, "Can I install an older version of this package on pip and if so how do I tell what versions are available".

I found the answer to the second question:

Code: Select all

$ pip install yolk3k
$ yolk -V django
Django 1.3
Django 1.2.5
Django 1.2.4
Django 1.2.3
Django 1.2.2
Django 1.2.1
Django 1.2
Django 1.1.4
Django 1.1.3
Django 1.1.2
Django 1.0.4

https://stackoverflow.com/a/5422144

Here is an example of how to install a specific version:

Code: Select all

pip install MySQL_python==1.2.2

https://stackoverflow.com/q/5226311

In my case this is no use because there is only one avialbe version of the package that I want:

Code: Select all

yolk -V guiscrcpy
guiscrcpy 4.7.2
Post Reply

Return to “Install”