We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab03e8a commit 3344816Copy full SHA for 3344816
1 file changed
argcomplete/scripts/activate_global_python_argcomplete.py
@@ -79,7 +79,9 @@ def install_to_destination(dest):
79
try:
80
os.makedirs(destdir, exist_ok=True)
81
except Exception as e:
82
- parser.error(f"path {destdir} does not exist and could not be created: {e}")
+ parser.error(
83
+ f"path {destdir} does not exist and could not be created: {e}. Please run this command using sudo, or see --help for more options."
84
+ )
85
86
print(f"Installing {activator} to {dest}...", file=sys.stderr)
87
shutil.copy(activator, dest)
0 commit comments