diff --git a/pipenv/utils/virtualenv.py b/pipenv/utils/virtualenv.py index e701719902..1084c143f6 100644 --- a/pipenv/utils/virtualenv.py +++ b/pipenv/utils/virtualenv.py @@ -205,7 +205,7 @@ def abort(msg=""): err.print(f"[red]{msg}[/red]") err.print("You can specify specific versions of Python with:") err.print( - f"[yellow]$ pipenv --python {os.sep.join('path', 'to', 'python')}[/yellow]" + f"[yellow]$ pipenv --python {os.sep.join(['path', 'to', 'python'])}[/yellow]" ) sys.exit(1)