When I type import torch
, I got the error, which bothers me a few days.
Traceback (most recent call last):
File “”, line 1, in
File “/home/Special/h_t106/anaconda3/lib/python3.6/site-packages/torch/init.py”, line 80, in
from torch._C import *
ImportError: /home/Special/h_t106/anaconda3/lib/python3.6/site-packages/torch/lib/…/…/…/…/libgomp.so.1: version `GOMP_4.0’ not found (required by /home/Special/h_t106/anaconda3/lib/python3.6/site-packages/torch/lib/libcaffe2.so)