-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Error installing matplotlib-3.3.1 using pip due to old version of certifi on conda environment #18337
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
Comments
If you have a conda environment, why aren't you using conda to install matplotlib? |
Hi @dopplershift, Thank you for your reply. The main reason it's because I want to use conda to handle environments and I prefer using pip for package management. shouldn't I use pip to install packages under conda environments? I only wanted to point out this behavior. Anyway, I've change my workflow to avoid conda. |
Well, conda has better dependency tracking and install, so it's more likely to be able to update things and keep a consistent environment. I'm not sure about matplotlib requiring the 2020.06.20 version of certifi, but I think the error that came out was reasonable. |
No, not likely, it's just the one I tested. As a pure Python package, it didn't seem too bad to require something new-ish. |
We should not be requriing certif to install the wheel though, PR coming.. |
Hi!
I'm using
mapltolib
on CICD (linux) and I found this unexpected behavior. When I installmatplotlib-3.3.1
on aconda
environment with an older version ofcertifi
(required byconda
), the installation process fails. I'm wondering if this is the expected behavior or not.I've checked the
setup.py
and I saw thatmatplotlib
requirescertifi>=2020.06.20
, so if I have an older version installed the error occurs.MWE
Here is an example of my workflow.
$ docker run -it intelpython/intelpython3_core:2019.4 (base) root@9c3da40a58ba:/# pip install matplotlib
Traceback
The text was updated successfully, but these errors were encountered: