Symbol lookup error: /usr/local/lib/python3.7/dist-packages/torch/lib/libtorch.so.1: undefined symbol: __atomic_fetch_add_8

HI everyone, I have installed pytorch on my raspberry pi but when I try to execute my code on raspberry pi, I get the following error “symbol lookup error: /usr/local/lib/python3.7/dist-packages/torch/lib/libtorch.so.1: undefined symbol: __atomic_fetch_add_8”. I have tried a couple of commands but seems not to get it to work. Any ideas to solve this issue is welcomed. Thanks

/bin/python3: symbol lookup error: /usr/local/lib/python3.7/dist-packages/torch/lib/libtorch.so.1: undefined symbol: __atomic_fetch_add_8

I think you might be hitting this issue and could take a look at the solution.