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
{{ message }}
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.
Install requirements via pip install -r requirements.txt
Long answer:
To provide some additional context, indeed the newest Numpy versions of 2.x flavor really does warrant the major number change from 1.x. The developers completely modified the Numpy API compared to version 1.x, and it would require significant effort to modify BayesFit to be compatible with these newest versions and ensure everything is functioning as expected.
All things considered, I have updated the requirements.txt to provide an upper bound for the Numpy version that is compatible with BayesFit. Unfortunately, providing these bounds within the setup.py via install_requires can lead to some unexpected behavior (i.e., multiple version of the same module being installed). Therefore, I have opted to leave it up to users to install the requirements via the requirements.txt using the command pip install -r requirements.txt within a virtual environment. I have run the unit tests for BayesFit version 2.4.1, and using this installation method within a virtual environment, everything runs as expected (i.e., all unit tests pass).
I'm getting this error on running fitmodel:
AttributeError: module 'numpy' has no attribute 'product'
And it's true, numpy no longer seems to use "product". It seems to be "prod", now.
The text was updated successfully, but these errors were encountered: