-
-
Notifications
You must be signed in to change notification settings - Fork 321
Closed
Description
I tested code at Ubuntu 19.04 with Python 3.7 and library
/usr/lib/x86_64-linux-gnu/libpython3.7m.so
I changed PythonEngine.pas file to
{$IFDEF _so_files}
PYTHON_KNOWN_VERSIONS: array[1..8] of TPythonVersionProp =
(
(DllName: 'libpython2.7.so'; RegVersion: '2.7'; APIVersion: 1013),
(DllName: 'libpython3.2.so'; RegVersion: '3.2'; APIVersion: 1013),
(DllName: 'libpython3.3.so'; RegVersion: '3.3'; APIVersion: 1013),
(DllName: 'libpython3.4.so'; RegVersion: '3.4'; APIVersion: 1013),
(DllName: 'libpython3.5.so'; RegVersion: '3.5'; APIVersion: 1013),
(DllName: 'libpython3.6.so'; RegVersion: '3.6'; APIVersion: 1013),
(DllName: 'libpython3.7m.so'; RegVersion: '3.7'; APIVersion: 1013),
(DllName: 'libpython3.8.so'; RegVersion: '3.8'; APIVersion: 1013)
);
Then the python3.7 was recognized but at least not correctly initialized.
at line 3057
// set the argv list of the sys module with the application arguments
PySys_SetArgv3000( argc + 1, wargv );
With error message:
Project Project1 raised exception class 'External: SIGABRT'.
In file '../sysdeps/unix/sysv/linux/raise.c' at line 50
Currently is recognized only Python 2.7.
Maybe you will know how to fix it.
Metadata
Metadata
Assignees
Labels
No labels