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
Thank you for your excellent work on this tool! I'm trying to use it on Ubuntu 22.04, but I'm encountering an issue related to the spdx module.
Here are the details about my setup:
$ python --version
Python 3.10.12
I have installed the ROS license toolkit via pip:
$ pip list | grep ros_license_toolkit
ros_license_toolkit 1.3.0
When I ran the tool for the first time, I received the following error:
$ ros_license_toolkit my_custom_msgs
Traceback (most recent call last):
File "/home/meet/.local/bin/ros_license_toolkit", line 5, in <module>
from ros_license_toolkit.main import main
File "/home/meet/.local/lib/python3.10/site-packages/ros_license_toolkit/main.py", line 27, in <module>
from ros_license_toolkit.checks import (LicensesInCodeCheck,
File "/home/meet/.local/lib/python3.10/site-packages/ros_license_toolkit/checks.py", line 25, in <module>
from ros_license_toolkit.license_tag import (LicenseTag,
File "/home/meet/.local/lib/python3.10/site-packages/ros_license_toolkit/license_tag.py", line 27, in <module>
from spdx.config import LICENSE_MAP
ModuleNotFoundError: No module named 'spdx'
To address this, I manually installed the spdx module using pip:
$ pip list | grep spdx
spdx 2.5.1
spdx-tools 0.8.2
However, after installing it, I encountered a different error:
$ ros_license_toolkit ark_msg/
Traceback (most recent call last):
File "/home/meet/.local/bin/ros_license_toolkit", line 5, in <module>
from ros_license_toolkit.main import main
File "/home/meet/.local/lib/python3.10/site-packages/ros_license_toolkit/main.py", line 27, in <module>
from ros_license_toolkit.checks import (LicensesInCodeCheck,
File "/home/meet/.local/lib/python3.10/site-packages/ros_license_toolkit/checks.py", line 25, in <module>
from ros_license_toolkit.license_tag import (LicenseTag,
File "/home/meet/.local/lib/python3.10/site-packages/ros_license_toolkit/license_tag.py", line 27, in <module>
from spdx.config import LICENSE_MAP
ModuleNotFoundError: No module named 'spdx.config'
I would appreciate any guidance on how to resolve these issues. Thank you!
The text was updated successfully, but these errors were encountered:
Hi there,
Thank you for your excellent work on this tool! I'm trying to use it on Ubuntu 22.04, but I'm encountering an issue related to the spdx module.
Here are the details about my setup:
I have installed the ROS license toolkit via pip:
When I ran the tool for the first time, I received the following error:
To address this, I manually installed the spdx module using pip:
However, after installing it, I encountered a different error:
I would appreciate any guidance on how to resolve these issues. Thank you!
The text was updated successfully, but these errors were encountered: