As per a number of issues scattered around the English (and Chinese) web, I have managed to successfully install the required packages into the correct virtual env and I imported pytorch first, but nothing seems to have helped.
I even fresh reinstalled everyrhing. No bueno.
$ python
Python 3.6.5 |Anaconda, Inc.| (default, Apr 29 2018, 16:14:56)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.__file__
'/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/__init__.py'
>>> import resample2d_cuda
ImportError: /home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/resample2d_cuda-0.0.0-py3.6-linux-x86_64.egg/resample2d_cuda.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c104impl28tls_excluded_tensor_type_setEv
As per a number of issues scattered around the English (and Chinese) web, I have managed to successfully install the required packages into the correct virtual env and I imported
pytorch
first, but nothing seems to have helped.I even fresh reinstalled everyrhing. No bueno.
Any advice?