Created
November 16, 2022 21:34
-
-
Save thewisenerd/52f937d01b06287ccf21a05a118e74ad to your computer and use it in GitHub Desktop.
installing facebook prophet on macOS arm64
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
brew install [email protected] | |
python3.11 -m pip install cmdstanpy | |
python3.11 -m pip install prophet # this should work ? if it dont, good luck lmao | |
# at this point, you might get an error | |
# RuntimeError: Error during optimization! Command '/opt/homebrew/lib/python3.11/site-packages/prophet/stan_model/prophet_model.bin | |
# dyld[71677]: Library not loaded: '@rpath/libtbb.dylib' | |
cd /opt/homebrew/lib/python3.11/site-packages/prophet/stan_model | |
install_name_tool -add_rpath @executable_path/cmdstan-2.26.1/stan/lib/stan_math/lib/tbb prophet_model.bin | |
# 'Prophet.fit' should no longer throw a fit haha |
Author
thewisenerd
commented
Nov 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment