python - import error: No module named trajoptpy -


'em running python code, in python code 'em facing problem these lines of code

import trajoptpy import trajoptpy.kin_utils ku trajoptpy.check_traj import traj_is_safe, traj_collisions import trajoptpy.math_utils mu 

actually main error importing trajopt as

importerror: no module named trajoptpy 

i have downloaded github package of trajopt after compiling don't know pythonpath making problem or other dependency in pc have set path as

mudasser@mudasser-pc:~$ export pythonpath=$pythonpath:/home/mudasser/trajopt mudasser@mudasser-pc:~$ export pythonpath=$pythonpath:/home/mudasser/trajopt/build/lib 

now while ctest , running python code making problem me. ctest error given as

test project /home/mudasser/trajopt/build   start  1: arm_to_joint_target.py 1/10 test  #1: arm_to_joint_target.py .............   passed    5.10 sec   start  2: arm_to_cart_target.py 2/10 test  #2: arm_to_cart_target.py ..............***failed    2.46 sec   start  3: fullbody_plan.py 3/10 test  #3: fullbody_plan.py ...................***failed    2.44 sec   start  4: position_base.py 4/10 test  #4: position_base.py ...................***failed    0.03 sec   start  5: this_side_up.py 5/10 test  #5: this_side_up.py ....................***failed    2.25 sec   start  6: arm_to_cart_target_position_only 6/10 test  #6: arm_to_cart_target_position_only ...***failed    2.99 sec   start  7: sco-unit 7/10 test  #7: sco-unit ...........................   passed    0.08 sec   start  8: collision-checker-unit 8/10 test  #8: collision-checker-unit .............***failed    0.00 sec   start  9: planning-unit 9/10 test  #9: planning-unit ......................***failed    0.00 sec   start 10: cast-cost-unit 10/10 test #10: cast-cost-unit .....................***failed    0.00 sec  20% tests passed, 8 tests failed out of 10  total test time (real) =  15.36 sec  following tests failed:   2 - arm_to_cart_target.py (failed)   3 - fullbody_plan.py (failed)   4 - position_base.py (failed)   5 - this_side_up.py (failed)   6 - arm_to_cart_target_position_only (failed)   8 - collision-checker-unit (failed)   9 - planning-unit (failed)  10 - cast-cost-unit (failed) errors while running ctest 

can me fix trajopt problem?


Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -