Use matplotlib.pyplot in raspberry pi 3B

0

Good morning, I'm working on raspberry pi 3B, to create a heat map, from a matrix that I generate with numpy, I need to graph it using matplotlib, seeing some examples do the importing like this:

import matplotlib.pyplot as plt

The problem is that when I try to do my program on Thonny in raspberry, it returns the error:

RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa

and

RuntimeError: module compiled against API version 0xc but this version of numpy is 0xa

Does anyone know what could be wrong ??

    
asked by Fernando Rivera 08.05.2018 в 19:08
source

0 answers