ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

I have received this error when trying to run colcon build. Can anyone tell me where I may have went wrong in installation?

asked 2021-03-08 22:00:06 -0500

DMTxZel gravatar image

updated 2021-03-09 02:39:45 -0500

gvdhoorn gravatar image

Straight dump of the error message:

 Traceback (most recent call last):
  File "/usr/bin/colcon", line 11, in <module>
    load_entry_point('colcon-core==0.6.1', 'console_scripts', 'colcon')()
  File "/usr/lib/python3/dist-packages/colcon_core/", line 118, in main
    return _main(command_name=command_name, argv=argv)
  File "/usr/lib/python3/dist-packages/colcon_core/", line 161, in _main
    args = parser.parse_args(args=argv)
  File "/usr/lib/python3/dist-packages/colcon_defaults/argument_parser/", line 129, in parse_args
    return self._parser.parse_args(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/colcon_argcomplete/argument_parser/argcomplete/", line 85, in parse_args
    from argcomplete import autocomplete
ImportError: cannot import name 'autocomplete' from 'argcomplete' (/home/denzel/.local/lib/python3.8/site-packages/argcomplete/
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-09 15:38:55 -0500

phillipov gravatar image

Perhaps this is an issue with the argcomplete version.

pip3 install -U argcomplete

It should upgrade argcomplete. Report back if that solves the problem.

edit flag offensive delete link more


It still is giving me the Traceback error

DMTxZel gravatar image DMTxZel  ( 2021-03-12 21:44:24 -0500 )edit

Question Tools

1 follower


Asked: 2021-03-08 22:00:06 -0500

Seen: 823 times

Last updated: Mar 09 '21