Skip to content

issues when python run_dynamic_with_motion.py #4

@suoyike1

Description

@suoyike1

(DG) wd@Y9000K2021H:~/cjy2024.3/dynamic-grasping-master/src/dynamic_grasping_pybullet$ python run_dynamic_with_motion.py
pybullet build time: May 20 2022 19:41:54
Traceback (most recent call last):
File "run_dynamic_with_motion.py", line 6, in
import grasp_utils as gu
File "/home/wd/cjy2024.3/dynamic-grasping-master/src/dynamic_grasping_pybullet/grasp_utils.py", line 1, in
import tf_conversions
File "/home/wd/tf/devel/lib/python3/dist-packages/tf_conversions/init.py", line 34, in
exec(__fh.read())
File "", line 30, in
File "/home/wd/tf/src/geometry/tf_conversions/src/tf_conversions/posemath.py", line 29, in
from tf import transformations
File "/home/wd/tf/devel/lib/python3/dist-packages/tf/init.py", line 34, in
exec(__fh.read())
File "", line 30, in
File "/home/wd/tf/devel/lib/python3/dist-packages/tf2_ros/init.py", line 34, in
exec(__fh.read())
File "", line 38, in
File "/home/wd/tf/devel/lib/python3/dist-packages/tf2_py/init.py", line 34, in
exec(__fh.read())
File "", line 38, in
ImportError: dynamic module does not define module export function (PyInit__tf2)

hey @jingxixu ,when i python run_dynamic_with_motion.py ,there is something wrong happened, i use https://answers.ros.org/question/326226/importerror-dynamic-module-does-not-define-module-export-function-pyinit__tf2/ didn't solve the problem too. it maybe caused by the version of python. would you have advice to handle it? Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions