Anaconda3 - install matplotlib.ppylot package

0

In Windows 10, I have Anaconda3 installed (it includes Conda 4.4.6 and python 3.6.3). I need to install the matplotlib.ppylot module.

I execute conda install matplotlib.ppylot and I get the notice that I attached.

How can I continue to get this package installed?

Within the Anaconda3 directory, I have executed conda > install > matplotlib

After updating etc. , you continue giving the same error when running a script on jupyter notebook or on spyder.

Next I have uninstalled Anaconda3 and I have reinstalled it. Next I installed the matplotlib package using conda: ( conda install -c conda-forge matplotlib ).

I enter jupyter and the error plays.

I sit on the anaconda console, inside the ANACONDA3 directory.

I run python and write import matplotlib and import numpy. It does not give me any error.

Spyder and jupiter notebook continue giving me the error

  

"No module named matplotlib.ppylot.

I discovered that the problem was in the script and not in the installation of the program. I do not understand why, but the truth is that the script

%matplotlib inline
from matplotlib.ppylot import plt
plot([0,1,0,1])

Returns error:

  

ModuleNotFoundError: No module named 'matplotlib.ppylot'

If I change it

import numpy as np
import matplotlib.pyplot as plt
plt.plot([0,1,0,1])

We no longer return that error.

    
asked by efueyo 12.06.2018 в 15:57
source

1 answer

0

You already tried with:

conda install matplotlib

Source (Until the last section below)

    
answered by 12.06.2018 в 16:52