ImportError matplotlib

I am extremely new to Python and PyCharm. I attempted to load various libraries I needed for my class using File > Settings > Project Interpreter

I am using a 64-bit Windows 10 computer. I attempted to install seaborn and matplotlib. After installing, I used the "import seaborn as sb" and "import matplotlib as mpl".

At runtime I then receive the following error:

Traceback (most recent call last):
File "C:/Users/JL/PycharmProjects/DASC500_1/Homework3.py", line 3, in <module>
import seaborn as sb
File "C:\Users\JL\PycharmProjects\DASC500_1\venv\lib\site-packages\seaborn\__init__.py", line 2, in <module>
import matplotlib as mpl
File "C:\Users\JL\PycharmProjects\DASC500_1\venv\lib\site-packages\matplotlib\__init__.py", line 174, in <module>
_check_versions()
File "C:\Users\JL\PycharmProjects\DASC500_1\venv\lib\site-packages\matplotlib\__init__.py", line 159, in _check_versions
from . import ft2font
ImportError: DLL load failed: The specified module could not be found.

I've attempted to uninstall and reinstall the libraries via the previous method and the command line and there were no changes to the error. Does anyone have some advice? Please keep it simple since I'm very new to this.

0
1 comment

Hello, 

 

Please follow this troubleshooting guide https://intellij-support.jetbrains.com/hc/en-us/articles/360010202240 and provide me with results as described in "Reporting to PyCharm issue tracker" part.

0

Please sign in to leave a comment.