qlib
qlib copied to clipboard
Apple M1 not supported
🐛 Bug Description
An error occurred when install pyqlib using pip on Macbook(M1): Could not find a version that satisfies the requirement pyqlib (from versions: none) ERROR: No matching distribution found for pyqlib
The error not occured on Windows computer when I step the same behavior, I guess pyqlib may not support Apple M1.
To Reproduce
Steps to reproduce the behavior:
- Using python 3.8.10 on M1
- Enter pip install pyqlib
Expected Behavior
Could not find a version that satisfies the requirement pyqlib (from versions: none)** **ERROR: No matching distribution found for pyqlib
Screenshot
Environment
Note: User could run cd scripts && python collect_info.py all
under project directory to get system information
and paste them here directly.
- Qlib version: latest
- Python version: 3.8.10
- OS (
Windows
,Linux
,MacOS
): MacOS with M1 - Commit number (optional, please provide it if you are using the dev version): None
Additional Notes
### Tasks
I have the same problem. I recommend you to install qlib
in the following way:
$ pip install numpy
$ pip install --upgrade cython
$ git clone https://github.com/microsoft/qlib.git && cd qlib
$ python setup.py install
Reference: https://qlib.readthedocs.io/en/latest/start/installation.html
same issue
M2 is also not supported