I am using python 3.6 on Ubuntu 16.04.
I have just updated pytorch via conda.
But, I got an following error when torch was imported.
Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 12:22:00)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type “help”, “copyright”, “credits” or “license” for more information.



import torch
Traceback (most recent call last):
File “”, line 1, in 
File “/home/sypark/anaconda3/lib/python3.6/site-packages/torch/init.py”, line 53, in 
from torch._C import *
ImportError: /home/sypark/anaconda3/lib/python3.6/site-packages/torch/_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PySlice_AdjustIndices



Please help me how to solve this problem.