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
colcon build on an ubuntu:xenial container reports the following error:
ERROR:colcon.colcon_core.entry_point:Exception loading extension 'colcon_core.package_identification.python': No module named 'setuptools.config'
It looks like the system packaged setuptools doesn't include this module in xenial - this can be worked around by upgrading the system setuptools using sudo python3 -m pip install setuptools -U.
The text was updated successfully, but these errors were encountered:
paulbovbel
changed the title
python3-colcon fails to run on Ubuntu Xenial
python3-colcon colcon build reports an error on Ubuntu Xenial
Jul 25, 2018
It looks like setuptools.config was added in 30.3.0. Would changing the install_requires for setuptools to setuptools >= 30.3.0 cause it to be upgraded when colcon-core is installed via pip?
For Debian packages there is no way for the colcon Debian package to fix the problem / install the newer setuptools version automatically. But #91 ensures for pip installed packages that the dependency is new enough as well as prints a better error message in the Debian case where the dependency is too old.
colcon build
on an ubuntu:xenial container reports the following error:It looks like the system packaged
setuptools
doesn't include this module in xenial - this can be worked around by upgrading the systemsetuptools
usingsudo python3 -m pip install setuptools -U
.The text was updated successfully, but these errors were encountered: