diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daa10fea7..961dfef71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: strategy: matrix: os: [ macos-latest ] - python-version: [3.7, 3.8] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v2 @@ -146,8 +146,9 @@ jobs: run: | cd build_helpers && ./install_ta-lib.sh ${HOME}/dependencies/; cd .. - - name: Installation - *nix + - name: Installation - macOS run: | + brew install hdf5 c-blosc python -m pip install --upgrade pip export LD_LIBRARY_PATH=${HOME}/dependencies/lib:$LD_LIBRARY_PATH export TA_LIBRARY_PATH=${HOME}/dependencies/lib diff --git a/docs/installation.md b/docs/installation.md index 73e791c56..a23399441 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -245,6 +245,19 @@ open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10 If this file is inexistent, then you're probably on a different version of MacOS, so you may need to consult the internet for specific resolution details. +### MacOS installation error with python 3.9 + +When using python 3.9 on macOS, it's currently necessary to install some os-level modules to allow dependencies to compile. +The errors you'll see happen during installation and are related to the installation of `tables` or `blosc`. + +You can install the necessary libraries with the following command: + +``` bash +brew install hdf5 c-blosc +``` + +After this, please run the installation (script) again. + ----- Now you have an environment ready, the next step is