Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Xisen-Wang committed Mar 20, 2024
1 parent b01ae53 commit 408a92a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,8 @@ Also, users can install the latest dev version ``Qlib`` by the source code accor
**Note**: You can install Qlib with `python setup.py install` as well. But it is not the recommended approach. It will skip `pip` and cause obscure problems. For example, **only** the command ``pip install .`` **can** overwrite the stable version installed by ``pip install pyqlib``, while the command ``python setup.py install`` **can't**.

**Tips**: If you fail to install `Qlib` or run the examples in your environment, comparing your steps and the [CI workflow](.github/workflows/test_qlib_from_source.yml) may help you find the problem.
**Tips for Mac**: If you are using Mac with M1, you might encounter issues in building the wheel for LightGBM. In this case, osx-arm64 builds of lightgbm are supported by the lightgbm conda-forge feedstock. Hence, one could use conda to install with the following command.

```bash
conda install \
--yes \
-c conda-forge \
'lightgbm>=3.3.3'
```
**Tips for Mac**: If you are using Mac with M1, you might encounter issues in building the wheel for LightGBM, which is due to missing dependencies from OpenMP. To solve the problem, install openmp first with ``brew install libomp`` and then run ``pip install .`` to build it successfully.

## Data Preparation
Load and prepare data by running the following code:
Expand Down

0 comments on commit 408a92a

Please sign in to comment.