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: Failed building wheel for statsmodels #514

Open
lbbartels opened this issue Mar 15, 2024 · 1 comment
Open

ERROR: Failed building wheel for statsmodels #514

lbbartels opened this issue Mar 15, 2024 · 1 comment

Comments

@lbbartels
Copy link

When I want to install openstef I get the following error:

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

How do I fix this?

With kind regards,
Luuk

@clara-de-smet
Copy link
Collaborator

Hi Luuk, I ran into the same problem a while ago. The issue for me was that statsmodels requires a C++ redistributable, which pip cannot install. I believe that may be the issue you are encountering as well? You could installing the C++ redistributable yourself or you could try installing statsmodels with conda.

egordm added a commit that referenced this issue Jul 17, 2024
* allow newer statsmodels versions

the 0.14 version has more pre-built wheels, and building the 0.13 ones requires additional libraries, otherwise you get errors such #514 

Signed-off-by: Martino Mensio <[email protected]>

* Update requirements.txt for statsmodels

do not allow major version change

Co-authored-by: Egor Dmitriev <[email protected]>
Signed-off-by: Martino Mensio <[email protected]>

---------

Signed-off-by: Martino Mensio <[email protected]>
Co-authored-by: Egor Dmitriev <[email protected]>
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