virtualenv:ImportError: No module named matplotlib.pyplot

created at 07-29-2021 views: 6

description

Because conda cannot be used to create a virtual environment on Jetson nano, virtualenv is used to build a virtual environment.

But after the matplotlib is clearly installed, the system will still prompt an error when running the program.

ImportError: No module named matplotlib.pyplot

I wanted to uninstall and reinstall, the following error appeared

(nano) nano@nano-desktop:~/yolov5$ pip uninstall matplotlib
WARNING: Skipping matplotlib as it is not installed.

solution

pip install scipy
pip uninstall matplotlib
pip install matplotlib
created at:07-29-2021
edited at: 07-29-2021: