I am currently working on a big game project in python and the need for storing my classes has just appeared. I looked into the net and tried out pickle and cpickle but given the structure of my classes they weren't good enough. so I am currently trying to use dill. I have used pip to install it but somehow I can't use it...
here is the code where I try to use dill:
import dill
with open('dill_test.pkl', 'wb') as f:
dump(CDB[0][3], f)
CDB is a matrix of classes that have similar atributes if it is required I can post the generic structure of each item in CDB
Here is the error I get:
ImportError: First run 'python setup.py build' to build dill.
I know that this might be a really basic question but I really couldn't find anything about it... and this is the first module I installed that ever gave me trouble I am currently using: pillow,pyglet and PPlay(came from pygame)