Explore Courses Blog Tutorials Interview Questions
0 votes
in Data Science by (18.4k points)

I wanted to work on the matplotlib so I tried to install matplotlib in anaconda prompt using the code below:

pip install matplotlib

which gave me the output:

Requirement already satisfied: matplotlib in c:\programdata\anaconda3\lib\site-p

ackages (3.1.3)

Requirement already satisfied: python-dateutil>=2.1 in c:\programdata\anaconda3\

lib\site-packages (from matplotlib) (2.8.1)

Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in c:\pr

ogramdata\anaconda3\lib\site-packages (from matplotlib) (2.4.6)

Requirement already satisfied: kiwisolver>=1.0.1 in c:\programdata\anaconda3\lib

\site-packages (from matplotlib) (1.1.0)

Requirement already satisfied: cycler>=0.10 in c:\programdata\anaconda3\lib\site

-packages (from matplotlib) (0.10.0)

Requirement already satisfied: numpy>=1.11 in c:\programdata\anaconda3\lib\site-

packages (from matplotlib) (1.18.1)

Requirement already satisfied: six>=1.5 in c:\programdata\anaconda3\lib\site-pac

kages (from python-dateutil>=2.1->matplotlib) (1.14.0)

Requirement already satisfied: setuptools in c:\programdata\anaconda3\lib\site-p

ackages (from kiwisolver>=1.0.1->matplotlib) (45.2.0.post20200210)

But when I try to import matplotlib in spyder it is telling no modules found.

Can anyone help me solve it?

1 Answer

0 votes
by (36.8k points)

As per my knowledge, your spyder is not connected to the anaconda environment that the reason it is giving the error telling no module found matplotlib. 

If you want to know more about the Data Science then do check out the following Data Science which will help you in understanding Data Science from scratch

Related questions

0 votes
1 answer
0 votes
1 answer
asked May 12, 2020 in Data Science by blackindya (18.4k points)

Browse Categories