We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 206447f commit e8d8f76Copy full SHA for e8d8f76
1 file changed
install-poetry.py
@@ -293,6 +293,11 @@ def bin_path(self):
293
294
@classmethod
295
def make(cls, target: Path) -> "VirtualEnvironment":
296
+ if not sys.executable:
297
+ raise ValueError(
298
+ "Unable to determine sys.executable. Set PATH to a sane value or set it explicitly with PYTHONEXECUTABLE."
299
+ )
300
+
301
try:
302
# on some linux distributions (eg: debian), the distribution provided python
303
# installation might not include ensurepip, causing the venv module to
0 commit comments