I upgraded Numpy and also installed pytorch 0.2.0. I have been using Anaconda navigator.
When I type import torch on Jupyter Notebook, I get the following errors. Any idea why Pytorch is not working?
import torch
RuntimeError Traceback (most recent call last)
RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
ImportError Traceback (most recent call last)
in ()
----> 1 import torch
~/anaconda3/lib/python3.6/site-packages/torch/init.py in ()
51 sys.setdlopenflags(_dl_flags.RTLD_GLOBAL | _dl_flags.RTLD_NOW)
52
—> 53 from torch._C import *
54
55 all += [name for name in dir(_C)
ImportError: numpy.core.multiarray failed to import