This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
Matplotlib package import error when using Atom IDE #23427
Unanswered
thiagoneye
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When trying to import the matplotlib package into atom I'm getting the following error:
Traceback (most recent call last):
File ".\bisection_method.py", line 4, in
import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'matplotlib'
The same error occurs when importing SymPy and Seaborn packages, but not when importing NumPy, Math and datetime packages. I can use all these packages on Spider and Jupyter Notebook.
I tried to reinstall the package via cmd and via the terminal (direct from Atom, via the platformio-ide-terminal package).
PS C:\Users\thiag> pip3 install matplotlib
Requirement already satisfied: matplotlib in c:\users\thiag\anaconda3\lib\site-packages (3.4.3)
Requirement already satisfied: cycler>=0.10 in c:\users\thiag\anaconda3\lib\site-packages (from matplotlib) (0.10.0)
Requirement already satisfied: numpy>=1.16 in c:\users\thiag\anaconda3\lib\site-packages (from matplotlib) (1.20.3)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\thiag\anaconda3\lib\site-packages (from matplotlib) (2.8.2)
Requirement already satisfied: pillow>=6.2.0 in c:\users\thiag\anaconda3\lib\site-packages (from matplotlib) (8.4.0)
Requirement already satisfied: pyparsing>=2.2.1 in c:\users\thiag\anaconda3\lib\site-packages (from matplotlib) (3.0.4)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\thiag\anaconda3\lib\site-packages (from matplotlib) (1.3.1)
Requirement already satisfied: six in c:\users\thiag\anaconda3\lib\site-packages (from cycler>=0.10->matplotlib) (1.16.0)
How do I fix this error? I use windows 10.
Beta Was this translation helpful? Give feedback.
All reactions