[TEST][Frontend][ONNX] dyld: Symbol not found: __PyThreadState_UncheckedGet

Hi all members of the tvm community,

I try to run onnx/test_forward.py but get the following error, I would appreciate if you can point me to solve it, thanks.

/Users/root/Pycharm/my_project/venv/bin/python /Users/root/tvm/tests/python/frontend/onnx/test_forward.py

dyld: lazy symbol binding failed: Symbol not found: __PyThreadState_UncheckedGet
  Referenced from: /Users/root/Pycharm/my_project/venv/lib/python3.5/site-packages/torch/lib/libtorch_python.dylib
  Expected in: flat namespace

dyld: Symbol not found: __PyThreadState_UncheckedGet
  Referenced from: /Users/root/Pycharm/my_project/venv/lib/python3.5/site-packages/torch/lib/libtorch_python.dylib
  Expected in: flat namespace


Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

Hi all,

I solve this issue by upgrading the python environment from 3.5.1 to 3.7.4.

Reference: https://github.com/pytorch/pytorch/issues/17237