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

Failed building wheel for matplotlib #80

Open
hofong428 opened this issue Feb 19, 2022 · 5 comments
Open

Failed building wheel for matplotlib #80

hofong428 opened this issue Feb 19, 2022 · 5 comments

Comments

@hofong428
Copy link

While I'm trying to install pdpbox, it seems a conflict happened to my matplotlib:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for matplotlib
Running setup.py clean for matplotlib
Failed to build matplotlib
Installing collected packages: matplotlib, sklearn, pdpbox
Attempting uninstall: matplotlib
Found existing installation: matplotlib 3.5.1
Uninstalling matplotlib-3.5.1:
Successfully uninstalled matplotlib-3.5.1
Running setup.py install for matplotlib ... error
error: subprocess-exited-with-error

so why it tried to uninstall the version of matplotlib I've installed? How could I fix the problem?

@gulstein86
Copy link

gulstein86 commented May 13, 2022

PDPBox only support the old version of matplotlib. First, you can use matplotlib==3.1.1 by using conda install matplotlib=3.1.1 instead. Do not use pip install matplotlib=3.1.1 since some of the dependencies can't be solve by PyPi. Then download the git

git clone https://github.com/SauceCat/PDPbox.git
cd PDPbox
python setup.py install

Manage to install it in my python 3.8 version. Have not tried with 3.9 yet

@ethantenison
Copy link

I have the same problem. It looks like matplotlib isn't on conda for Mac M1 below 3.4.2 ....

@marcessz
Copy link

marcessz commented Mar 8, 2023

Is it ever going to be updated to work with matplotlib>=3.7?

@SauceCat
Copy link
Owner

SauceCat commented Jun 5, 2023

The latest version, v0.3.0, has been released. We recommend updating to this version and checking if it resolves the issue you're facing. Your feedback is appreciated. Thank you for your patience and support.

@marcessz
Copy link

marcessz commented Jun 5, 2023

Awesome! Thanks!

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

5 participants