when I only include torch/extension.h, error occur while import in python

ImportError: /home/work/test_libtorch/build/example.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _Z16THPVariable_WrapN2at6TensorE