diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8dfbc646..e3cff26e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -35,7 +35,7 @@ include_directories(${RADARE2_INCLUDE_DIRS}) link_directories(${RADARE2_LIBRARY_DIRS}) -find_package(PythonLibs 3 REQUIRED) +find_package(PythonLibs 3.3 REQUIRED) include_directories(${PYTHON_INCLUDE_DIRS}) diff --git a/src/utils/JupyterConnection.cpp b/src/utils/JupyterConnection.cpp index 151fe9fd..63d7ff25 100644 --- a/src/utils/JupyterConnection.cpp +++ b/src/utils/JupyterConnection.cpp @@ -36,7 +36,7 @@ JupyterConnection::~JupyterConnection() if (Py_IsInitialized()) { - Py_FinalizeEx(); + Py_Finalize(); } }