Skip to content

Commit

Permalink
Update readme for forecasting
Browse files Browse the repository at this point in the history
  • Loading branch information
martinb-ai committed May 21, 2022
1 parent 6beb2b6 commit 5f5c618
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion openbb_terminal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,41 @@ Several features in this project utilize Machine Learning. Machine Learning Pyth

To enable the `prediction` menu install additional dependencies after installing main dependencies:

- On M1 mac
- On Intel mac

```bash
conda install -c conda-forge tensorflow==2.7.0
conda install -c conda-forge -c pytorch u8darts-torch
poetry install -E prediction
```
- On M1 mac (make sure you are using miniconda3 or miniforge3)

```bash
brew install cmake
brew install gcc
conda install -c conda-forge tensorflow==2.7.0
conda install -c apple tensorflow-deps
conda install -c apple tensorflow-deps==2.8.0
python -m pip install tensorflow-metal
conda update pip
conda update -c defaults numpy
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb
brew unlink libomp
brew install libomp.rb
pip3 install -r requirements.txt
conda install -c conda-forge tensorflow==2.8.0
conda install -c conda-forge -c pytorch u8darts-torch
python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
```

- On all other systems

```bash
poetry install -E prediction
conda install -c conda-forge -c pytorch u8darts-torch
```

If you are having trouble with Poetry (e.g. on a Windows system), simply install requirements.txt with pip
Expand Down

0 comments on commit 5f5c618

Please sign in to comment.