Skip to content

Instantly share code, notes, and snippets.

@fclesio
Created July 14, 2023 12:40
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/86574a333a7d4819abe833abf5e4e86f to your computer and use it in GitHub Desktop.
Save fclesio/86574a333a7d4819abe833abf5e4e86f to your computer and use it in GitHub Desktop.
• Installing prophet (1.1.3): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-13-arm64-cpython-39
creating build/lib.macosx-13-arm64-cpython-39/prophet
creating build/lib.macosx-13-arm64-cpython-39/prophet/stan_model
10:40:51 - cmdstanpy - INFO - compiling stan file /private/var/folders/ld/581z49j56s5_yvfcdy34g4m8dmn07w/T/tmpri3e5q_w/prophet-1.1.3/stan/prophet.stan to exe file /private/var/folders/ld/581z49j56s5_yvfcdy34g4m8dmn07w/T/tmpri3e5q_w/prophet-1.1.3/stan/prophet
Compiling cmdstanpy model
(...)
stan/src/stan/services/sample/standalone_gqs.hpp:39:23: note: in instantiation of function template specialization 'boost::algorithm::split<std::vector<std::string>, std::string &, boost::algorithm::detail::is_any_ofF<char>>' requested here
boost::algorithm::split(splits, param_cols[i], boost::is_any_of("."));
^
src/cmdstan/command.hpp:642:21: note: in instantiation of function template specialization 'stan::services::get_model_parameters<stan::model::model_base>' requested here
stan::services::get_model_parameters(model, param_names, param_dimss);
^
45 warnings and 14 errors generated.
make: *** [src/cmdstan/main.o] Error 1
Command ['make', '/private/var/folders/ld/581z49j56s5_yvfcdy34g4m8dmn07w/T/tmpri3e5q_w/prophet-1.1.3/stan/prophet']
error during processing No such file or directory
at ~/Library/Application Support/pypoetry/venv/lib/python3.9/site-packages/poetry/installation/chef.py:147 in _prepare
143│
144│ error = ChefBuildError("\n\n".join(message_parts))
145│
146│ if error is not None:
→ 147│ raise error from None
148│
149│ return path
150│
151│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with prophet (1.1.3) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "prophet (==1.1.3)"'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment