In order to use matplotlib, you must first install the package, or simply import the package and we will auto-install it for you:
import matplotlib.pyplot as plt
This no longer works on your platform.
This is the error we get:
Traceback (most recent call last):
File “main.py”, line 3, in
import matplotlib.pyplot as plt
ModuleNotFoundError: No module named ‘matplotlib’
This is a core Python library.
Are you able to fix this issue?
It is affecting a lot of teacher and students.
In any case, should this not also work for 3.8? matplotlib is a core Python library .
Is there not a fix for all versions of Python?
Thanks! I appreciate your help.
George
I just installed “matplotlib” and it works. I’m not just why the newer version works and the older python version doesn’t work with an import statement.
Thanks Jesse,
Here’s my problem.
I’ve shared the original link (and other like it) with teachers and students.
Now the code in these links no longer works because importing matplotlib does not auto-install as it should.
I can’t be expecting teachers and students to install matplotlib - it’s a non-starter.
Pythion without the capacity to import basic libraries is basically useless.
How do we get Replit to fix this problem?
I mean, it should be a simple fix for them, no?