List the pip side of the zfit dependency with their versions pinned.
TLDR; make install-dep-pip
A naive pip install -r may fail, because tensorflow 2.6.x requires numpy~=1.19, but nix provides 1.21. Also, pip install numpy won't normally work due to nix constraints.
We workaround this issue by:
List all packages to be pip-installed explicitly, with their version pinned
Use the --no-deps flag for pip install, so the numpy version check is skipped.
List the
pip
side of thezfit
dependency with their versions pinned.TLDR;
make install-dep-pip
A naive
pip install -r
may fail, becausetensorflow 2.6.x
requiresnumpy~=1.19
, butnix
provides1.21
. Also,pip install numpy
won't normally work due tonix
constraints.We workaround this issue by:
--no-deps
flag forpip install
, so thenumpy
version check is skipped.@manuelfs