ieshuaganocry / aimchess-puzzle-rating-prediction

GNU General Public License v3.0
13 stars 4 forks source link

Unknown opcode #3

Open Taimor80 opened 3 years ago

Taimor80 commented 3 years ago

Hello!

I tried to run the code on Windows 10 and Ubuntu 18.04.5 and I got the same error in the file "predictor.py"

line 19, in predict_rating regular_features = EXTRACT_FEATURES(df).to_dict(orient="index")[0] File "model_wrapper.py", line 589, in extract_features SystemError: unknown opcode

This is somthing related to "model.pinkle".

Is this because of different version of Python that I am using? I am using 3.8.5 (windows10) and 3.8.5(ubuntu)

something like this issue in cloudpickle https://github.com/cloudpipe/cloudpickle/issues/293

Paul-Baudin commented 2 years ago

I have the same issue (Windows 10, Python 3.9.0). But when running it with Python 3.7.9 it works