You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have not been able to install dmpfold, apparently due to dependencies on torch and numpy versions that are so old that pip won't install them (at least not as far as I can see). I've tried using various combinations of older versions without success. Typical attempt:
pip install torch==1.8 # fails, oldest supported version is 1.11.0
pip install torch==1.11
pip install numpy # no change, numpy 2.1.2 installed as dependency of torch
pip install dmpfold # "Successfully installed dmpfold-2.0"
dmpfold -i test.aln
"/usr/local/lib/python3.10/dist-packages/torch/_masked/__init__.py:223: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:68.)"
"RuntimeError: Numpy is not available"
The text was updated successfully, but these errors were encountered:
Hi, apologies for the delay. The underlying issue seems to be that there was no NumPy 2.0 when PyTorch 1.8 was released, meaning that now we need to explicitly ask for 'numpy<2.0', so the install would look like:
The only issue with the above is that it would also require older Python versions (I tested on 3.9), and you would not be able to run on newer GPUs.
The PyPI dmpfold package does not explicitly enforce certain versions of dependencies, so if you can use Python version 3.9 or so, the above should work.
I have not been able to install dmpfold, apparently due to dependencies on torch and numpy versions that are so old that pip won't install them (at least not as far as I can see). I've tried using various combinations of older versions without success. Typical attempt:
The text was updated successfully, but these errors were encountered: