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.
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.
Be the first person to leave a comment!