I am working on a shared workstation that has pytorch 0.4.1 pre-installed. I created a new conda environment and installed the latest pytorch within this virtual environment. I get the same error when I try to import torch:
ImportError:   ~/anaconda3/envs/myenv/lib/python3.7/site-packages/torch/lib/libtorch.so.1: undefined symbol: _ZTIN2at10TensorImplE
When I install a 0.4.0 version on my conda environment, it works. Shouldn’t the installation of pytorch within my conda environment be independent of the global installation?