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
Describe the bug
One of the dependencies (colored) seems to have changed and breaks the import of parts of the toolbox (e.g. from roboticstoolbox import mstraj on pythono >= 3.9)
docker run -ti python:3.10 bash
pip install roboticstoolbox-python
python
from roboticstoolbox import mstraj
Results in:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.10/site-packages/roboticstoolbox/init.py", line 5, in
from roboticstoolbox.mobile import *
File "/usr/local/lib/python3.10/site-packages/roboticstoolbox/mobile/init.py", line 6, in
from roboticstoolbox.mobile.PlannerBase import PlannerBase
File "/usr/local/lib/python3.10/site-packages/roboticstoolbox/mobile/PlannerBase.py", line 24, in
from colored import fg, attr
ImportError: cannot import name 'fg' from 'colored' (/usr/local/lib/python3.10/site-packages/colored/init.py)
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Linux (standard python docker image) with:
Describe the bug
One of the dependencies (colored) seems to have changed and breaks the import of parts of the toolbox (e.g.
from roboticstoolbox import mstraj
on pythono >= 3.9)Version information
Installed with PyPI
To Reproduce
Results in:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.10/site-packages/roboticstoolbox/init.py", line 5, in
from roboticstoolbox.mobile import *
File "/usr/local/lib/python3.10/site-packages/roboticstoolbox/mobile/init.py", line 6, in
from roboticstoolbox.mobile.PlannerBase import PlannerBase
File "/usr/local/lib/python3.10/site-packages/roboticstoolbox/mobile/PlannerBase.py", line 24, in
from colored import fg, attr
ImportError: cannot import name 'fg' from 'colored' (/usr/local/lib/python3.10/site-packages/colored/init.py)
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Linux (standard python docker image) with:
The text was updated successfully, but these errors were encountered: