apollo: ImportError: No module named matplotlib.pyplot

I am using apollo 3.0, when I run python modules/tools/mapshow/mapshow.py

Traceback (most recent call last): File “modules/tools/mapshow/mapshow.py”, line 21, in <module> import matplotlib.pyplot as plt ImportError: No module named matplotlib.pyplot

This script was run in Apollo 2.x but not run in 3.0

System information

  • Apollo installed from (source or binary):
  • Apollo version (3.0):

Steps to reproduce the issue:

python modules/tools/mapshow/mapshow.py

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

Permission denied. You can give the permission for conda by using ’ sudo env “PATH=$PATH” ’ Try below command.

sudo env “PATH=$PATH” conda install matplotlib

In my case, it works.

You can install matplotlib by “conda install matplotlib” inside the docker container.