File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ def _python_version_from_executable(python_executable: str) -> Tuple[int, int]:
242
242
return ast .literal_eval (check )
243
243
except (subprocess .CalledProcessError , FileNotFoundError ):
244
244
raise PythonExecutableInferenceError (
245
- 'Error: invalid Python executable {}' .format (python_executable ))
245
+ 'invalid Python executable {}' .format (python_executable ))
246
246
247
247
248
248
def _python_executable_from_version (python_version : Tuple [int , int ]) -> str :
@@ -256,7 +256,7 @@ def _python_executable_from_version(python_version: Tuple[int, int]) -> str:
256
256
return sys_exe
257
257
except (subprocess .CalledProcessError , FileNotFoundError ):
258
258
raise PythonExecutableInferenceError (
259
- 'Error: failed to find a Python executable matching version {},'
259
+ 'failed to find a Python executable matching version {},'
260
260
' perhaps try --python-executable, or --no-site-packages?' .format (python_version ))
261
261
262
262
You can’t perform that action at this time.
0 commit comments