Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with casadi_kin_dyn and casadi python package due to updates #12

Open
VModugno opened this issue Apr 24, 2023 · 1 comment
Open

Comments

@VModugno
Copy link

dear all,

I have encountered an unusual issue with one of the horizon dependencies (casadi_kin_dyn) and the casadi python package under Anaconda.
casadi_kin_dyn requires libcasadi.so.3.6 to work (it comes precompiled) but apparently now if you install casadi under anaconda using the classic conda install casadi you will get for some reason casadi 3.7 (even if i specify the 3.6 version).
after some digging, I have found that the casadi package was updated almost 20 days ago and even though the package is called 3.6 the stuff that it contains is referred to as the 3.7 version of casadi.
you can check it by yourself at this link. If you download the packagelinux-64/casadi-3.6.0-py38hb3c7268_0.conda and you'll check the content of inside the lib folder you will find the version not matching.
therefore I'm wondering if it is possible to somehow download the casdi_kin_dyn and compile it against the current casadi version or if you have other solutions

thank you for your help

@VModugno
Copy link
Author

VModugno commented May 4, 2023

Hi guys

I have found the answer to the issue, basically, casadi uses very weird versioning hence you can find casadi 3.6 under casadi-3.5.5. so in order to ensure that casadi_kin_dyn will find casadi 3.6 is necessary to specify in the environment.yaml the version 3.5.5 for the casadi package otherwise it will install the last casadi which is not compatible with casadi_kin_dyn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant