poetry env use
on Windows needs to deal with spaces in path or take a command line list
#1747
Closed
2 of 3 tasks
Labels
kind/bug
Something isn't working as expected
If an exception occurs when executing a command, I executed it again in debug mode (-vvv
option).Issue
On Windows, Python is typically installed into
C:\Program Files
, i.e.C:\Program Files\Python38\python.exe
. Attempting to make poetry use it rather than the Python it is installed for results in:In this case, the path must be treated as
["C:\\Program Files\\Python38\\python.exe"]
.Python for Windows also comes with the
py
program for selecting which installed Python gets called. You can call it likepy
and it will start the latest Python, or likepy -2.7-32
to start that other thing. In that case, the string must be interpreted as["py", "-2.7-32"]
The text was updated successfully, but these errors were encountered: