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

Contents
Note
This article was last updated on 2024-09-20, the content may be out of date.

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

0 comments
Anonymous
Markdown is supported

Be the first person to leave a comment!