You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FigureTrajAndDeviation.py: Plot Eye movement trajectories, you need the data file to actually run it.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2015-12-14.15:25:47.437>created_at=<Date2015-12-14.14:35:30.474>labels= ['type-bug', 'library']
title="Can't use Pickle. AttributeError: 'module' object has no attribute '_new_Index'"updated_at=<Date2015-12-14.16:27:44.729>user='https://bugs.python.org/GeoffreyMgardon'
I am trying to run a piece of code that I programmed some time ago.
Back then, it was working fine and it was plotting some data.
But today, while I am trying to improve the plots, I ran the code and did not work!
Here the message:
D:\Users\Geoffrey\Anaconda\python.exe "D:/Google Drive/Work/Experiences/experiment-deviation-initial/analysis/FigureTrajAndDeviation.py"
Traceback (most recent call last):
File "D:/Google Drive/Work/Experiences/experiment-deviation-initial/analysis/FigureTrajAndDeviation.py", line 36, in <module>
m = pickle.load( open(output_path+"/traj_and_RT_second_only.p", "rb" ) )
File "D:\Users\Geoffrey\Anaconda\lib\pickle.py", line 1378, in loadreturn Unpickler(file).load()
File "D:\Users\Geoffrey\Anaconda\lib\pickle.py", line 858, in load
dispatch[key](self)
File "D:\Users\Geoffrey\Anaconda\lib\pickle.py", line 1090, in load_global
klass =self.find_class(module, name)
File "D:\Users\Geoffrey\Anaconda\lib\pickle.py", line 1126, in find_class
klass =getattr(mod, name)
AttributeError: 'module' object has no attribute '_new_Index'
Process finished with exit code 1
I hope that you may now what it is about!!
I attached the code file.
_new_Index is a function used in pandas to unpickle its Index objects. Added 29 Jul 2014 (pandas-dev/pandas@8d3cb3f). May be your current pandas is older than that used for pickling.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: