Skip to content

Instantly share code, notes, and snippets.

@fclesio
Last active July 14, 2023 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fclesio/8700c06dc0607d10cb44364aa85c4d28 to your computer and use it in GitHub Desktop.
Save fclesio/8700c06dc0607d10cb44364aa85c4d28 to your computer and use it in GitHub Desktop.
Sequence to Install Darts in MacBook M1 - OS: MacOS Ventura
$ conda install -c conda-forge pip
$ conda install -c conda-forge 'lightgbm>=3.3.3'
$ conda install -c conda-forge cmdstan
$ export PROPHET_REPACKAGE_CMDSTAN=False
$ export PRECOMPILED_HEADERS=false
$ pip install cmdstanpy==1.0.4
$ pip install prophet==1.1.1
$ pip install darts
# References
# [1] - https://github.com/facebook/prophet/issues/2002
# [2] - https://medium.com/devops-and-sre-learning/solution-for-the-error-while-installing-prophet-library-on-windows-machine-d1cc84adbafc
# [3] - https://github.com/stan-dev/cmdstan/issues/947
# [4] - https://discourse.mc-stan.org/t/issues-with-cmdstanpy-on-apple-silicon-and-newest-macos/26869/23?page=2
# [5] - https://github.com/stan-dev/cmdstanpy/issues/546
# [6] - https://github.com/uber/orbit/issues/808
# [7] - https://github.com/conda-forge/cmdstan-feedstock/issues/28
# [8] - https://github.com/unit8co/darts/pull/1589#issuecomment-1458007777
# [9] - https://github.com/unit8co/darts/issues/1722
# [10] - https://stackoverflow.com/a/74532860
# [11] - https://discourse.mc-stan.org/t/issues-with-cmdstanpy-on-apple-silicon-and-newest-macos/26869
# [12] - https://github.com/stan-dev/cmdstanpy/issues/546#issuecomment-1075300632
# [13] - https://cmdstanpy.readthedocs.io/en/v1.0.0/_modules/cmdstanpy/model.html
# [14] - https://stackoverflow.com/a/74954287
# [15] - https://stackoverflow.com/a/69832716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment