-
Notifications
You must be signed in to change notification settings - Fork 4
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
missing dependency on launch #2
Comments
Thank you for your question. |
With Ubuntu 24.04 and PEP 668 the dependency management becomes a bit more difficult. It is now strongly recommended to use virtual environments to install packages via pip. Installing python3 -m venv --system-site-packages ~/.venvs/dev
. ~/.venvs/dev/bin/activate
pip install colcon-lint will not install the direct dependencies, such as
the "system" colcon will then fail to find the Without
That means that all system dependencies in Do you have an idea how this can be resolved? Have you thought about adding the repo to the colcon organisation and create Debian packages, such as |
Yes, I am also struggling with handling Ubuntu 24.04 and PEP 668.
If you just want to bypass the dependencies installed on the system like lark and make them usable, you could add the system's Python package path (e.g.
Transferring it to the colcon organization and making it installable via apt should make it easier to handle, so I plan to work on it when I have some time. Nevertheless, it's still troubling that users cannot install and run colcon lint in a virtual environment according to PEP 668, but I'll set that aside for now. |
I am trying to run
colcon lint
, installed viapip install colcon-lint
, withros-tooling/setup-ros
but it appears that the dependency onlaunch
has not been defined, hence it is missing:The text was updated successfully, but these errors were encountered: