codextrmz
codextrmz

Reputation: 27

Trouble installing 'matplotlib'

Cant' install 'matplotlib.pyplot' on Windows 10, Python 3.7

I tried 'pip install matplotlib.pyplot' and received an error

Here's the exact error code: Could not find a version that satisfies the requirement matplotlib.pyplot (from versions: ) No matching distribution found for matplotlib.pyplot

Upvotes: 1

Views: 1253

Answers (2)

marsnebulasoup
marsnebulasoup

Reputation: 2660

Don't use pip install matplotlib.pyplot, use pip install matplotlib

matplotlib.pyplot is calling pyplot from the module matplotlib. What you want is the module, matplotlib. Then from idle or wherever you are running this, you can call matplotlib.pyplot

Upvotes: 2

RenauV
RenauV

Reputation: 383

Try just using pip install on your command line (or terminal):

'pip install matplotlib'

I hope it helps. BR

Upvotes: 0

Related Questions