-
Notifications
You must be signed in to change notification settings - Fork 97
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
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero' #51
Comments
Same issue for me
|
Hey @Savior2016, sorry for the delay, that issue comes from the python setuptools packages, upgrade it to try to fix the issue. |
I ran |
@Alejandro-M-Perez, have you tried |
i have the same issue, and my setuptools are on the latest version (75.2.0) have something that i can do? like turn it to an older version? |
Try with the following versions: packaging==23.2 setuptools==72.1.0 |
Sorry for taking so long to get back to you. I tried Then I installed packaging==23.2 and setuptools==72.1.0 and that seems to have helped, but when running colcon build i now get:
|
@Alejandro-M-Perez, I've been checking the Python packages and the problem is the sphinx package. Since super-gradients, used in YOLO-NAS, requires sphinx sphinx~=4.0.2, you have to install a more recent version. I've been testing with sphinx==8.0.0 sphinx-rtd-theme==3.0.0. Btw, I've created a Dockerfile for the new incoming version, here you have. |
My issue got Resolved after sudo pip install sphinx --upgrade, as mentioned by the author |
I got this log after run colcon:TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
I tried to upgrade my setuptools and colcon, it not helped。
Below is all my log:
The text was updated successfully, but these errors were encountered: