Using Pickle/CPickle in Python Mode

edited December 2017 in Python Mode

I am attempting to output data to a pickle file to import that data into a different project. My data is an array of objects, and each object has variables with the value of other objects. In the project that is outputting the pickle file, I am importing the class using "from class import Class". The class is in a separate .py file. My pickle file appears to output correctly, but when I try to import that file, I get the error message "AttributeError: 'module' object has no attribute 'instancemethod'". Does anyone know the cause of this problem or any possible solutions to it?



  • edited December 2017

    Python Mode can't use libraries w/ native C code in them. [-X

    However, I dunno whether that's the case for CPickle. You need to check that out for yourself. 8-|

Sign In or Register to comment.