ValueError: insecure string pickle, python
<p>I have dumped a variable by python 2.7 as below:</p>

<pre><code>import cPickle as pickle    
f1 = open('./data.pickle','wb')
pickle.dump(datasets,f1)
f1.close()
</code></pre>

<p>And, the way to load is as below, but with python 2.6.6:</p>

<pre><code>f1=open('./data.pickle' ,'rb')
dataset=pickle.load(f1)
f1.close()
</code></pre>

<p>Wondering why I am getting the following error:</p>

<pre><code>Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ValueError: insecure string pickle
</code></pre>