Error When Running Deepstream Test 3

Hi, I encountered this problem when trying to launch python bindings deepstream. I’ve tried the deepstream-app and that works really fine but when I tried python bindings version, i got this error.

ps/deepstream-test1$ python deepstream_test_1.py 
Traceback (most recent call last):
  File "deepstream_test_1.py", line 33, in <module>
    import pyds
ImportError: ../../bindings/x86_64/pyds.so: undefined symbol: PyInstanceMethod_Type

What can I do to fix this? is it necessary to install some missing package (in my case pyds)?

Thank you.

what python version are you using ? DS python only supports python 3.6
Did you install python-dev
$ sudo apt install python-dev