Zsh error: (eval):1: command not found: _python-argcomplete [SOLVED]
Contents
Issue
Getting this annoying error every time after pressing Tab
(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
Solution
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.
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.