You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use airo-robots from a conda environment with Python 3.11, the import of rtde_control fails:
File "~/.conda/envs/airo-mono/lib/python3.11/site-packages/airo_robots/manipulators/hardware/ur_rtde.py", line 10, in <module>
from rtde_control import RTDEControlInterface
ModuleNotFoundError: No module named 'rtde_control'
Apparently, building the wheel from source fixes this, but this requires a CMake installation.
I'm raising this issue because airo-mono's environment.yaml file specifies Python 3.11 (though it works fine on 3.10). I discovered it because I was trying to use some functionality that only became available in Python 3.11.
To reproduce
Create and activate a new conda environment with Python 3.11 and pip as dependencies (see below)
@m-decoster nice catch, maybe best if we revert the python version to 3.10 for now and wait for the binaries to be pushed to PyPI? Feel free to make that change if you agree :)
I can confirm that the underlying issue has been fixed. Nothing needs to be done on our end, but it's now possible again to use Python 3.11 with ur_rtde.
Describe the bug
When trying to use airo-robots from a conda environment with Python 3.11, the import of
rtde_control
fails:This is a known issue: https://gitlab.com/sdurobotics/ur_rtde/-/issues/294
Apparently, building the wheel from source fixes this, but this requires a CMake installation.
I'm raising this issue because airo-mono's environment.yaml file specifies Python 3.11 (though it works fine on 3.10). I discovered it because I was trying to use some functionality that only became available in Python 3.11.
To reproduce
pip install ur_rtde
import rtde_control
Possible solutions
Use Python 3.10, build
ur_rtde
from source, or wait for this issue to be fixed to use Python 3.11.The text was updated successfully, but these errors were encountered: