tomas789 / kitti2bag

Convert KITTI dataset to ROS bag file the easy way!
MIT License
702 stars 256 forks source link

command not found #20

Open DamonMIN opened 6 years ago

DamonMIN commented 6 years ago

@tomas789 Dear sir, when I successfully finished all the previous installation procedures and run the command "kitti2bag -t 2011_09_26 -r 0002 raw_synced .". There is an error "kitti2bag: command not found". I checked the kitti2bag package with "pip list", which was installed successfully.

ravishk1 commented 5 years ago

I have got the same error. pip successfully installed kitti2bag, but when I tried to call kitti2bag, it showed that kitti2bag: command not found. How to resolve this error?

OmarNsiri commented 5 years ago

I'm having a similar problem. when I issue: kitti2bag -t 2011_09_26 -r 0002 raw_synced . I get : Could not load module 'pykitti'. Please run pip install pykitti

jy723 commented 5 years ago

@OmarNsiri hi,I have got the same error. first,sudo pip install numpy --upgrad, sudo pip install scikit-image. second,https://github.com/tomas789/kitti2bag/issues/10 kitti2bag 2011_09_26 0002.

J2eremy commented 5 years ago

@OmarNsiri hi,I have got the same error. first,sudo pip install numpy --upgrad, sudo pip install scikit-image. second,#10 kitti2bag 2011_09_26 0002.

@jy723 hi, I updated the numpy and scikit-image but the problem still exists. I get : Could not load module 'pykitti'. Please run pip install pykitti. And how #10 help to solve this problem? Thanks a lot.

mnik17 commented 5 years ago

@J2eremy Hi,

Have you found a solution to that problem? I'm getting the same error, although I tried the proposed solutions and I have updated all dependencies.

valgur commented 5 years ago

You can replace the

try:
    import pykitti
except ImportError as e:
    print('Could not load module \'pykitti\'. Please run `pip install pykitti`')
    sys.exit(1)

lines with import pykitti. That way the exact ImportError message will not be hidden.

The issue is likely a missing cv2 dependency, which pykitti is accidentally trying to import but which is not actually used or listed as a dependency either.

mnik17 commented 5 years ago

@valgur Thanks for the reply, it turned out you're right. It was in fact a missing cv2.

I'd also like to point out for future reference that if you try installing with python2.7/pip2 you should install an older version of matplotlib, since the current one is requiring at least python3.6.

Gold-finger99 commented 4 years ago

Can you explain the method in detail? I had the same problem, but I was new to it

jeffersonnox commented 4 years ago

@valgur How i apply this answer????

try: import pykitti except ImportError as e: print('Could not load module \'pykitti\'. Please run pip install pykitti') sys.exit(1)

cicly commented 4 years ago

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag
drfg0119 commented 3 years ago

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

It works for me! Thanks

SS47816 commented 3 years ago

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

Thanks so much! It solved my problem!

nisailhan commented 3 years ago

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

It works for me too. Thanks!

junmeng6025 commented 1 year ago

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

Thanks, that worked for me. My problem was #54 . When I reinstall kitti2bag using sudo, it claimed that bash: /home/jun/anaconda3/envs/kitti/bin/kitti2bag: No such file or directory , then I run pip install kitti2bag again after sudo pip install kitti2bag, everything then worked.

Gold-finger99 commented 1 year ago

已收到感谢您得来信

haohaoalt commented 1 year ago

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

fucking good!Thanks a lot

Gold-finger99 commented 1 year ago

已收到感谢您得来信

Rolandxx7 commented 1 year ago

For Ubuntu 20.04, please just change the python version into 3.8.10, which can solve this problem well.

Gold-finger99 commented 1 year ago

已收到感谢您得来信

liu-jun-chen commented 10 months ago

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

This method works for me! Thank you so much!

Gold-finger99 commented 10 months ago

已收到感谢您得来信