Zsh error: (eval):1: command not found: _python-argcomplete [SOLVED]

Contents

Getting this annoying error every time after pressing Tab

text

(eval):1: command not found: _python-argcomplete
(eval):1: command not found: _python-argcomplete
(eval):1: command not found: _python-argcomplete
(eval):1: command not found: _python-argcomplete
(eval):1: command not found: _python-argcomplete
(eval):1: command not found: _python-argcomplete

Quick research showed python-argcomplete is a package that provides shell completion for argparse.and it’s not installed in the python version currently active. So, installing it via pip and running it helped.

shell

pip install argcomplete
activate-global-python-argcomplete

Links:

Second Head Post
This is a post from Second Head. So please, don’t expect too much.

Related Content