Page 1 of 1

pip: query/install specific versions

Posted: Fri Nov 13, 2020 2:42 am
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