pytorch_kinematics icon indicating copy to clipboard operation
pytorch_kinematics copied to clipboard

Is it possible to install the package without mujoco dependency?

Open StoneT2000 opened this issue 1 year ago • 2 comments

Thanks for this awesome work! I was trying to use this package but it seems it by default does from pytorch_kinematics.mjcf import * when i run import pytorch_kinematics as pk which then imports mujoco. However I would like to avoid having users installing mujoco in the project I am working on. Is it possible to make this optional?

For example maybe add a try except around from pytorch_kinematics.mjcf import * in init.py

StoneT2000 avatar Jan 24 '24 01:01 StoneT2000

Bumping this message up, is there a way around this? The alternative for me is to fork the repository and make my own package

StoneT2000 avatar Jun 02 '24 22:06 StoneT2000

Sorry didn't get to see this issue, but I'll take a look at it soon

LemonPi avatar Jul 08 '24 18:07 LemonPi