unitreerobotics / unitree_legged_sdk

SDK tools for control robots.
BSD 3-Clause "New" or "Revised" License
270 stars 156 forks source link

robot_interface.so: undefined symbol: PyInstanceMethod_Type #125

Closed Liu-Xiaoyan97 closed 2 months ago

Liu-Xiaoyan97 commented 8 months ago

Now I am trying to run example_walk.py, but I got the ImportError that 'robot_interface.so: undefined symbol: PyInstanceMethod_Type '. I confirm that I have compiled the relevant files successfully and have robot_interface.cpython-38-x86_64-linux-gnu.so (python3.6 for aarch64 used) in lib/python/amd64 and arm64. And I renamed the file in arm64 to robot_interface.so and put it in the same directory as example_walk.py. Anyone can help me? @k-okada @sktometometo @holiray @matheecs @OnlineMC WechatIMG5

UnInterstedLedge commented 2 months ago

have you been able to figure this out?

Liu-Xiaoyan97 commented 2 months ago

have you been able to figure this out?

I recommend recompiling with the version of python you're using, which will solve most of the problems. This problem has been solved, but the specific solution, I can't remember, should be to recompile.

Liu-Xiaoyan97 commented 2 months ago

Issue has been solved.

UnInterstedLedge commented 2 months ago

i got the example_walk.cpp to work instead. so it's fine now.