Robotics StackExchange | Archived questions

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

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)

Asked by DMTxZel on 2021-03-08 23:00:06 UTC

Comments

Answers

Perhaps this is an issue with the argcomplete version.

pip3 install -U argcomplete

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

Asked by phillipov on 2021-03-09 16:38:55 UTC

Comments

It still is giving me the Traceback error

Asked by DMTxZel on 2021-03-12 22:44:24 UTC