forked from microsoft/qlib
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from zhiyuan5986/pushMASTER
Push master configuration
- Loading branch information
Showing
5 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# create a new conda environment named `MASTER` | ||
conda create -n MASTER python=3.8 | ||
eval "$(conda shell.bash hook)" | ||
conda activate MASTER | ||
|
||
# install `qlib` | ||
pip install pyqlib | ||
pip install -r requirements.txt | ||
|
||
# the following codes copy the `*.so` files in the installed `qlib` package to our customizable `qlib` | ||
path=$(which conda) | ||
parent_path=$(dirname $path) | ||
parent_path=$(dirname $parent_path) | ||
lib_path="$parent_path/envs/MASTER/lib/python3.8/site-packages/qlib/data/_libs" | ||
echo $lib_path | ||
find $lib_path -type f -name "*.so" -exec cp {} "../../../qlib/data/_libs" \; | ||
|
||
# we directly use our customizable `qlib` | ||
pip uninstall pyqlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
chardet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters