kitti2bag icon indicating copy to clipboard operation
kitti2bag copied to clipboard

command not found

Open DamonMIN opened this issue 6 years ago • 21 comments

@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.

DamonMIN avatar May 01 '18 03:05 DamonMIN

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?

ravishk1 avatar Oct 05 '18 08:10 ravishk1

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

OmarNsiri avatar Mar 17 '19 19:03 OmarNsiri

@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.

jy723 avatar Mar 25 '19 06:03 jy723

@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.

J2eremy avatar Mar 26 '19 12:03 J2eremy

@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.

mnik17 avatar Jun 08 '19 22:06 mnik17

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.

valgur avatar Jun 09 '19 16:06 valgur

@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.

mnik17 avatar Jun 10 '19 17:06 mnik17

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

Gold-finger99 avatar Jan 30 '20 13:01 Gold-finger99

@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)

jeffersonnox avatar Jun 10 '20 19:06 jeffersonnox

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

cicly avatar Jun 21 '20 04:06 cicly

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

It works for me! Thanks

drfg0119 avatar Jul 13 '20 06:07 drfg0119

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

Thanks so much! It solved my problem!

SS47816 avatar Nov 22 '20 15:11 SS47816

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

It works for me too. Thanks!

nisailhan avatar Apr 28 '21 20:04 nisailhan

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.

junmeng6025 avatar Jul 19 '22 09:07 junmeng6025

已收到感谢您得来信

Gold-finger99 avatar Jul 19 '22 09:07 Gold-finger99

first remove the kitti2bag:

pip uninstall kitti2bag

second install kitti2bag by root:

sudo pip install kitti2bag

fucking good!Thanks a lot

haohaoalt avatar Nov 17 '22 02:11 haohaoalt

已收到感谢您得来信

Gold-finger99 avatar Nov 17 '22 02:11 Gold-finger99

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

Rolandxx7 avatar Jun 09 '23 06:06 Rolandxx7

已收到感谢您得来信

Gold-finger99 avatar Jun 09 '23 06:06 Gold-finger99

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!

liu-jun-chen avatar Aug 13 '23 10:08 liu-jun-chen

已收到感谢您得来信

Gold-finger99 avatar Aug 13 '23 10:08 Gold-finger99