Skip to content Skip to sidebar Skip to footer

Fatal Python Error: Gc Object Already Tracked

I use matplotlib to create some charts, using the AGG backend. import matplotlib matplotlib.use('AGG') import matplotlib.plot as plt # ... def chart_view(request): fig = plt.

Solution 1:

OK, I found out that it's doing it when I use Debian Jessie's matplotlib 1.4.2 in combination with the latest pandas (0.17.0) that I have installed with pip install --upgrade --no-deps pandas (in a virtualenv that uses --system-site-packages). If I use Debian's pandas 0.14.1 everything's fine. Go figure why this is. Anyway, using Debian's packages is what I intended to do so this solves the problem for me.


Post a Comment for "Fatal Python Error: Gc Object Already Tracked"