Can't find module cPickle using Python 3.5 and Anaconda

前端 未结 2 1971
礼貌的吻别
礼貌的吻别 2020-12-16 09:05

I am trying to use cPickle on a windows box, using Anaconda. I am using python 3.5. I am not using a virtualenv (though probably should be).

When I try to import cPi

2条回答
  •  一向
    一向 (楼主)
    2020-12-16 09:46

    There is no cPickle in Python 3. Just import pickle. pickle will automatically use the C accelerator.

提交回复
热议问题