$ python run_basics.py
Traceback (most recent call last):
File "run_basics.py", line 5, in <module>
from skimage.io import imread, imsave
File "/Users/kidapu/.pyenv/versions/2.7.15/envs/2.7-prnet/lib/python2.7/site-packages/skimage/__init__.py", line 167, in <module>
from .util.dtype import (img_as_float32,
File "/Users/kidapu/.pyenv/versions/2.7.15/envs/2.7-prnet/lib/python2.7/site-packages/skimage/util/__init__.py", line 6, in <module>
from .apply_parallel import apply_parallel
File "/Users/kidapu/.pyenv/versions/2.7.15/envs/2.7-prnet/lib/python2.7/site-packages/skimage/util/apply_parallel.py", line 8, in <module>
import dask.array as da
File "/Users/kidapu/.pyenv/versions/2.7.15/envs/2.7-prnet/lib/python2.7/site-packages/dask/array/__init__.py", line 9, in <module>
from .routines import (take, choose, argwhere, where, coarsen, insert,
File "/Users/kidapu/.pyenv/versions/2.7.15/envs/2.7-prnet/lib/python2.7/site-packages/dask/array/routines.py", line 256, in <module>
@wraps(np.matmul)
File "/Users/kidapu/.pyenv/versions/2.7.15/lib/python2.7/functools.py", line 33, in update_wrapper
setattr(wrapper, attr, getattr(wrapped, attr))
AttributeError: 'numpy.ufunc' object has no attribute '__module__'
I can fix this by replacing numpy version from 1.6 to 1.14.3.
I run
pip install -r requirements.txt
according to following in python 2.7.15.https://github.com/YadiraF/PRNet/blob/master/requirements.txt
And I have met this kind of error.
I can fix this by replacing numpy version from 1.6 to 1.14.3.