Python Forum

Full Version: Error message when trying to install Matplotlib in Python3.8
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, Newbie here!
I was trying to work on a data viz project for practice and had to install the modules. I installed seaborn yesterday with no problem. I installed pandas today with no problem. I went to install Matplotlib and:

C:\Users\HP>pip install matplotlib
Collecting matplotlib
Downloading https://files.pythonhosted.org/packages/..._amd64.whl (9.1MB)
|██████████ | 2.9MB 159kB/s eta 0:00:39ERROR: Could not install packages due to an EnvironmentError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:2607)


Actually, this is less text than when I tried to install it the previous 3 times. I just upgraded to 3.8. I updated pip, setuptools and wheel as well. I decided to update Atom and the scripts and even restarted my machine.
I'm lost as to what happened exactly, so if anyone can shed some light, that would help.
Thanks in advance

UPDATE: I meant MATPLOTLIB in the subject. Sorry about that
I was able to solve this by using the unnoficial packages, you can download then here and just make sure to install de requirements, you can find them on the link too, then install each package with:

pip install "SomePackage-1.0-py2.py3-none-any.whl"
(Jan-09-2020, 06:04 AM)LeanbridgeTech Wrote: [ -> ]I was able to solve this by using the unnoficial packages, you can download then here and just make sure to install de requirements, you can find them on the link too, then install each package with:

pip install "SomePackage-1.0-py2.py3-none-any.whl"
Thanks. Did you mean to send a link to these unofficial packages? If you did, I don't see it and I'd love to try it.
I think pandas depends on matplotlib. you probably already had a version of matplotlib installed when you installed pandas. maybe that caused the error?

matplotlib 	2.2.2 	Visualization
see optional dependencies https://pandas.pydata.org/pandas-docs/st...stall.html
(Jan-13-2020, 01:01 AM)rmspacedashrf Wrote: [ -> ]I think pandas depends on matplotlib. you probably already had a version of matplotlib installed when you installed pandas. maybe that caused the error?

matplotlib 	2.2.2 	Visualization
see optional dependencies https://pandas.pydata.org/pandas-docs/st...stall.html

I never thought about that. Maybe if I uninstall and then reinstall? I don't even know if I can do that. Thanks
Thank you, all! I did a pip list and found that despite my installation of certain packages, they didn't take. I uninstalled the ones that did, reinstalled, starting with matplotlib, and then pandas. It seems to be okay. Seaborn isn't taking, but I think the program can be done without that. I just want to get practicing