nmansard/jnrh2023

cannot import name 'casadi' from 'pinocchio'

Closed this issue · 2 comments

Hello,
first of all, thank you for this amazing source of information about pinocchio and casadi.

Following this discussion stack-of-tasks/pinocchio#2019, I am trying to run your tutorials, but I get the following error when running 0_setup.ipynb:

ImportError: cannot import name 'casadi' from 'pinocchio' (/home/joao/miniconda3/envs/jnrh-2023/lib/python3.9/site-packages/pinocchio/__init__.py)

Is this a known issue? What can I do to solve it?
Thank you!

I've solved it by running PYTHONPATH=. jupyter-lab . (added dot at the end)

Closing.