1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Neil Williams <codehelp@debian.org>
Date: Thu, 3 Mar 2022 09:58:08 +0000
Subject: Fix embedded python interpreter call to use Python3
---
larch/xmlrpc_server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/larch/xmlrpc_server.py b/larch/xmlrpc_server.py
index c4b2318..d56bd85 100644
--- a/larch/xmlrpc_server.py
+++ b/larch/xmlrpc_server.py
@@ -302,7 +302,7 @@ def spawn_server(port=4966, wait=True, timeout=30):
optionally waiting to confirm connection
"""
topdir = sys.exec_prefix
- pyexe = Path(topdir, 'bin', 'python').as_posix()
+ pyexe = Path(topdir, 'bin', 'python3').as_posix()
bindir = 'bin'
if uname.startswith('win'):
bindir = 'Scripts'
|