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

ERROR: Could not build wheels for fbprophet, which is required to install pyproject.toml-based projects #335

Open
gethelp-spec opened this issue Sep 24, 2024 · 0 comments

Comments

@gethelp-spec
Copy link

Building wheels for collected packages: fbprophet
Building wheel for fbprophet (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [45 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib
creating build\lib\fbprophet
creating build\lib\fbprophet\stan_model
Traceback (most recent call last):
File "", line 36, in
File "", line 34, in
File "D:\Temp\pip-install-w23w8ghw\fbprophet_a6e1b233b1dd40e8a060ca63e232c14a\setup.py", line 149, in
long_description_content_type='text/markdown',
File "D:\anaconda\lib\site-packages\setuptools_init_.py", line 153, in setup
return distutils.core.setup(**attrs)
File "D:\anaconda\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "D:\anaconda\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "D:\anaconda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\anaconda\lib\site-packages\wheel\bdist_wheel.py", line 223, in run
self.run_command('build')
File "D:\anaconda\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\anaconda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\anaconda\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "D:\anaconda\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "D:\anaconda\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "D:\Temp\pip-install-w23w8ghw\fbprophet_a6e1b233b1dd40e8a060ca63e232c14a\setup.py", line 48, in run
build_models(target_dir)
File "D:\Temp\pip-install-w23w8ghw\fbprophet_a6e1b233b1dd40e8a060ca63e232c14a\setup.py", line 36, in build_models
from fbprophet.models import StanBackendEnum
File "D:\Temp\pip-install-w23w8ghw\fbprophet_a6e1b233b1dd40e8a060ca63e232c14a\fbprophet_init_.py", line 8, in
from fbprophet.forecaster import Prophet
File "D:\Temp\pip-install-w23w8ghw\fbprophet_a6e1b233b1dd40e8a060ca63e232c14a\fbprophet\forecaster.py", line 17, in
from fbprophet.make_holidays import get_holiday_names, make_holidays_df
File "D:\Temp\pip-install-w23w8ghw\fbprophet_a6e1b233b1dd40e8a060ca63e232c14a\fbprophet\make_holidays.py", line 14, in
import fbprophet.hdays as hdays_part2
File "D:\Temp\pip-install-w23w8ghw\fbprophet_a6e1b233b1dd40e8a060ca63e232c14a\fbprophet\hdays.py", line 13, in
from convertdate.islamic import from_gregorian, to_gregorian
ModuleNotFoundError: No module named 'convertdate'
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for fbprophet
Running setup.py clean for fbprophet
Failed to build fbprophet
ERROR: Could not build wheels for fbprophet, which is required to install pyproject.toml-based projects

how to solve this problem

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

1 participant