tibiv111
tibiv111

Reputation: 109

Couldn't install matplotlib.pylot

So I installed the NumPy, SciPy and Matplotlib on Windows 10, with the following codes. I wanted to install matplotlib.pylot and I got an error message.

I have already tried to reinstalling the matplotlib. Any solutions?

(work) C:\DEV>python -m pip install numpy #success
...#success

(work) C:\DEV>python -m pip install scipy #success
...#success

(work) C:\DEV>python -m pip install matplotlib 
...#success

(work) C:\DEV>python -m pip install matplotlib.pyplot
Collecting matplotlib.pyplot

ERROR: Could not find a version that satisfies the requirement matplotlib.pyplot (from versions: none)
ERROR: No matching distribution found for matplotlib.pyplot

Upvotes: 0

Views: 448

Answers (2)

Iorweth333
Iorweth333

Reputation: 512

Once, when I encountered this kind of an error, the problem was Python version. Python isn't backwards-compatilbe like Java, you can't just install the most recent version and hope for the best. Please always make sure the software you're trying to download is available for Python you use. If it isn't- downgrade Python.

Upvotes: 1

DUDANF
DUDANF

Reputation: 3000

Have a look at Wheels

git clone https://github.com/matplotlib/matplotlib
git clone https://github.com/jbmohler/matplotlib-winbuild
python matplotlib-winbuild\buildall.py

Upvotes: 1

Related Questions