Ask Your Question
0

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/command.py", line 118, in main
    return _main(command_name=command_name, argv=argv)
  File "/usr/lib/python3/dist-packages/colcon_core/command.py", line 161, in _main
    args = parser.parse_args(args=argv)
  File "/usr/lib/python3/dist-packages/colcon_defaults/argument_parser/defaults.py", line 129, in parse_args
    return self._parser.parse_args(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/colcon_argcomplete/argument_parser/argcomplete/__init__.py", 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/__init__.py)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

Comments

It still is giving me the Traceback error

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 53 times

Last updated: Mar 09