Python pip xxxx==0.1.2 .... how to?

Hi Folks…

Im trying to make a nix-shell, with python, and install some packages, witch seems to work.

but i need to install an older package, which i normaly install pith pip… ie pip install pyqtgraph==0.11.1

i can’t find any examples on how to do this ?? is it posible ?? or what should i do ??

thanks…
/F

You need to use a venv because pip cannot write system wide.

You have a few options, I’d either override src using fetchPypi, or relax the dependency requirements so that there’s no longer such a strict version requirement. Any reason why you need a 5 year old version of the package though?

1 Like