-
Notifications
You must be signed in to change notification settings - Fork 414
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
Broken Install #384
Comments
Hotfix could be to downgrade dependency: |
This is a problem of colored: they introduced breaking API changes in 1.5.0 and renamed functions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: