ethz-asl / kalibr

The Kalibr visual-inertial calibration toolbox
Other
4.39k stars 1.41k forks source link

package 'igraph' is deprecated #466

Closed CogmanCVN closed 2 years ago

CogmanCVN commented 3 years ago

Hello, I encountered the following problems when using the kalibr_calibrate_cameras tool: kalibr_calibrate_cameras --target april_6x6.yaml --bag static.bag --models pinhole-equi pinhole-equi omni-radtan omni-radtan --topics /cam0/image_raw /cam1/image_raw /cam2/image_raw /cam3/image_raw

Traceback (most recent call last): File "/home/zqy/kalibr_workspace/devel/bin/kalibr_calibrate_cameras", line 15, in exec(compile(fh.read(), python_script, 'exec'), context) File "/home/zqy/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras", line 12, in import kalibr_camera_calibration as kcc File "/home/zqy/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/init.py", line 4, in from ObsDb import * File "/home/zqy/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_camera_calibration/ObsDb.py", line 6, in import igraph File "/home/zqy/.local/lib/python2.7/site-packages/igraph/init.py", line 8, in warn_deprecation() File "/home/zqy/.local/lib/python2.7/site-packages/igraph/_utils.py", line 36, in warn_deprecation raise RuntimeError("This package is deprecated. See the deprecation notice above.") RuntimeError: This package is deprecated. See the deprecation notice above.

My environment is Ubuntu 8.04 and python 3.7. I need help, thanks.

mhyoosefian commented 3 years ago

Hi. Have you tried sudo apt-get upgrade pytohn-igraph ?

CogmanCVN commented 3 years ago

Can't solve...

CrisXin000 commented 3 years ago

Maybe you can try sudo pip uninstall igraph sudo apt install python-igraph it is work for me.

Tsingkai commented 2 years ago

The same exception……QAQ Everything isn't work for me! Please the world Die!

JazzyFeng commented 2 years ago

Maybe you can try sudo pip uninstall igraph sudo apt install python-igraph it is work for me.

You saved my life!

lemoncoffe commented 2 years ago

It is great !Thanks!

goldbattle commented 2 years ago

Hi please try PR https://github.com/ethz-asl/kalibr/pull/515 to see if that solves your issue.

kanhao100 commented 1 year ago

Maybe you can try sudo pip uninstall igraph sudo apt install python-igraph it is work for me.

Thank you very much!