My question is about a Pypy error. Totay I intended to start using pypy. However when I run my former python code it gave me a strange error message. Here is my code:
import numpy as np
k = np.load('alldata.npy')
print k.shape
when I use python2 ./p.py it gives me;
(942962, 64) however when I run my code with pypy ./p.py it gives me this:
Traceback (most recent call last):
File "./p.py", line 5, in <module>
k = np.load('bA1024.npy')
File "/usr/local/lib/pypy2.7/dist-packages/numpy/lib/npyio.py", line406, in load
pickle_kwargs=pickle_kwargs)
File "/usr/local/lib/pypy2.7/dist-packages/numpy/lib/format.py", line 649, in read_array
array = numpy.fromfile(fp, dtype=dtype, count=count)
File "/usr/local/lib/pypy2.7/dist- packages/numpy/core/multiarray.py", line 83, in tmp
raise NotImplementedError("%s not implemented yet" % func)
NotImplementedError: fromfile not implemented yet