Closed qiyunzhu closed 3 months ago
pip install numpy==2.0.0rc1 pandas scipy h5py anndata click cython -e .
That is the problem, it will still build against numpy 1.x due to build isolation (add -v
to the command and you'll see what is installed at build time).
Instead you want:
pip install numpy==2.0.0rc1 pandas scipy h5py anndata click cython # install build and runtime deps
pip install -e . --no-build-isolation # ensure to build against the already installed build deps
@rgommers Fantastic! It worked. Thanks for the instruction!
@rgommers We still got an error even with NumPy 2.0-compatible h5py and Pandas installed. Could you please help?
How to reproduce the error:
The error message:
Installed packages: