install nix
install pypi2nix
-
run
pypi2nix -r requirements.txtto update any requirements from the requirements.txt file -
run
nix-shell requirements.nix -A interpreter -
If desired, run
nix-shell -p python3Packages.ipython -p python3Packages.pandasto incorporate ipython and pandas from nixpkgs