-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
numpy.ndarray size changed, may indicate binary incompatibility #255
Comments
This may be related to the recent upgrading of numpy. |
@pingsutw Hi, thanks for the report. This error may due to the latest numpy release in the version 1.20.0. We recommend to install the lower version of pip install numpy==1.19.5
pip install pyqlib --ignore-installed numpy We will try to see what is updated and make Qlib to be compatible with numpy 1.20.0 in the future. |
Same error still exists after reinstalling numpy package, while the numpy/qlib installations seem abnormal.
Do we have to reinstall all downstream packages (qlib/torch/...) after reinstalling numpy? |
Thanks @you-n-g and @Derek-Wds for the help. |
The error disappears! thanks, @pingsutw In addition, few dnn models released within latest version may not work well. For one case, TableNet do not exists @Derek-Wds maybe you should re-confirm whether the newest dnn models work well. |
Hi, there is a recent merge #258 about this issue, please now try to reinstall qlib to see if any errors occurs. Thanks! |
It worked! |
Got the same issue with a fresh install of the latest version(0.7.2.99) from pypi.
EDIT: |
🐛 Bug Description
To Reproduce
Steps to reproduce the behavior:
conda create --name test python=3.7
pip install numpy cython pyqlib
Expected Behavior
Should successfully run this example
Screenshot
Environment
Note: User could run
cd scripts && python collect_info.py all
under project directory to get system informationand paste them here directly.
Linux
):Additional Notes
The text was updated successfully, but these errors were encountered: