Importer modules
Bonjour,
je suis étudiant en prépa math et pour mes cours d'info j'ai besoin de tracer des courbes etc....
Seul soucis, quand je fais ce qu'y met demandé, voila ce quil se passe :
en rouge " from matplotlib.pyplot import plot, grid, ylim, subplot, show, axis
ImportError: No module named 'matplotlib'"
Comment on importe ce module ?
je suis étudiant en prépa math et pour mes cours d'info j'ai besoin de tracer des courbes etc....
Seul soucis, quand je fais ce qu'y met demandé, voila ce quil se passe :
en rouge " from matplotlib.pyplot import plot, grid, ylim, subplot, show, axis
ImportError: No module named 'matplotlib'"
Comment on importe ce module ?
2 réponses
-
Il faut l'installer au préalable !
-
Si le module n'existe pas dans l'installation Python, alors il faut télécharger ce module. Va donc faire un tour sur cette page, c'est le module que tu cherches je pense:
https://matplotlib.org/