Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I had an error message while installing openbb #5759

Open
Jacques2101 opened this issue Nov 19, 2023 · 8 comments
Open

I had an error message while installing openbb #5759

Jacques2101 opened this issue Nov 19, 2023 · 8 comments

Comments

@Jacques2101
Copy link

Jacques2101 commented Nov 19, 2023

Describe the bug
I try to install openbb with pip install "openbb[forecast]" --no-cache-dir

Screenshots
If applicable, add screenshots to help explain your problem.
If you are running the terminal using the conda version please
rerun the terminal with python terminal.py --debug, and then
recreate your issue. Then include a screenshot of the entire
error printout.

Desktop (please complete the following information):

  • OS: Mac OS Sonema
  • Python version 3.10

Additional context
Here a part of screenshot
Capture d’écran 2023-11-19 à 21 39 16
Capture d’écran 2023-11-19 à 21 39 26
Capture d’écran 2023-11-19 à 21 39 33
Capture d’écran 2023-11-19 à 21 39 43
Capture d’écran 2023-11-19 à 21 39 56
Capture d’écran 2023-11-19 à 21 40 06
Capture d’écran 2023-11-19 à 21 40 38

Failed to build prophet
ERROR: Could not build wheels for prophet, which is required to install pyproject.toml-based projects
@deeleeramone
Copy link
Contributor

What is the output of:

  • conda info
  • xcode-select -v
  • conda list cmdstan

@Jacques2101
Copy link
Author

Jacques2101 commented Nov 21, 2023 via email

@Jacques2101
Copy link
Author

Jacques2101 commented Nov 22, 2023 via email

@deeleeramone
Copy link
Contributor

Did you receive my answer ? Any idea of my problem ? Thx Cordialement

I see that you don't have cmdstan installed, this may be the issue. You can try installing that with:

pip install cmdstanpy==1.1.0

If that does not resolve, you can attempt to update the environment from the YAML file:

conda env update -n obb --file https://raw.githubusercontent.com/OpenBB-finance/OpenBBTerminal/develop/build/conda/conda-3-10-env.yaml

And then try again to pip install OpenBB.

@Jacques2101
Copy link
Author

Jacques2101 commented Nov 22, 2023 via email

@deeleeramone
Copy link
Contributor

Which of the two did you try? Did you also complete all of the "machine prep" instructions?

Screenshot 2023-11-22 at 2 29 49 PM

At any rate, it will be a good idea to completely delete the environment you have created, clear you cache, and create a new environment using the YAML file.

@Jacques2101
Copy link
Author

Jacques2101 commented Nov 27, 2023 via email

@deeleeramone
Copy link
Contributor

Since you posted this, we have released version 4. If you don't specifically need the forecast library, it will be a much simpler installation. https://docs.openbb.co/platform/installation

Otherwise, cache can be cleared with:

conda clean -a
pip cache purge
poetry cache clear PyPI

Installation instructions here describe the environment creation process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants