Looks like you are in the pytorch source directory, change directory and you should be ok.

  
      github.com/pytorch/pytorch
  
  
    



Issue: ModuleNotFoundError: No module named 'torch.version' 2


	
	opened by shitian-ni
	on 2018-01-13
	
	
	closed by apaszke
	on 2018-01-13
	


Error import torch after conda install pytorch torchvision -c pytorch
(pytorch-py3.6) root@0a7c92d23653:/workspace/pytorch# pip freeze | grep torch
torch==0.3.0.post4
torchtext==0.2.0
torchvision==0.1.9
(pytorch-py3.6) root@0a7c92d23653:/workspace/pytorch# python
Python 3.6.3 |Anaconda, Inc.|...