qlib icon indicating copy to clipboard operation
qlib copied to clipboard

Apple M1 not supported

Open ikaroinory opened this issue 1 year ago • 4 comments

🐛 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:

  1. Using python 3.8.10 on M1
  2. 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

image

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

ikaroinory avatar May 29 '23 10:05 ikaroinory

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

jeremy-feng avatar Jun 01 '23 13:06 jeremy-feng

same issue

shaojintian avatar Aug 17 '23 10:08 shaojintian

M2 is also not supported

ZacharyLWH avatar Jul 13 '24 09:07 ZacharyLWH