'Undefined Symbol: PySlice_Unpack' error in Pytorch

Problem:

‘Undefined Symbol: PySlice_Unpack’

Environment:

Pytorch = 1.0.1  
Python = 3.6.0

Solution:

Upgrade Python to 3.6.3. Seems like this is the only solution.
Update by conda install python==3.6.3 command if using Miniconda in CLI.