How to debug this unusual symbol look up error

Hi! I am trying to run a python script that uses torch. I get the following error. I have Python 3.6.8

symbol lookup error: /home/workspace/Ubuntu1804/libtorch_python.so:: undefined symbol:PyThread_tss_alloc

I am getting the same error when I import torch in IPython 3.6 in my terminal and haven’t been able to find much references to this specific type of symbol look up error.

This post described the same undefined symbol.
Could you try to create a new clean conda environment and reinstall PyTorch?