I'm trying to run the CARLA simulator but I'm constantly getting this error.
File "module_7.py", line 32, in <module>
import live_plotter as lv # Custom live plotting library
File "/opt/CarlaSimulator/PythonClient/live_plotter.py", line 7, in <module>
import matplotlib.backends.tkagg as tkagg
ModuleNotFoundError: No module named 'matplotlib.backends.tkagg'
These are the imports in the file live_plotter.py:
import tkinter as tk
import os
import numpy as np
import matplotlib.backends.tkagg as tkagg
from matplotlib.backends.backend_agg import FigureCanvasAgg
import matplotlib.pyplot as plt
import pygame
I've tried to install matplotlib numerous times but it just doesn't work.