linker

Undefined symbol at runtime. Import Python C++ extension

Undefined symbol at runtime. Import Python C++ extension Question: I have a python package (my_python_package), part of which is a C++ extension (my_ext) with a single function (my_ext_func). The extension depends on my C++ library (libmycpp) and my C++ library depends on libarrow. The problem is that I get an error while importing a function …

Total answers: 1

Using Cython To Link Python To A Shared Library

Using Cython To Link Python To A Shared Library Question: I am trying to integrate a third party library written in C with my python application using Cython. I have all of the python code written for a test. I am having trouble finding an example for setting this up. I have a pyd/pyx file …

Total answers: 1

Is it feasible to compile Python to machine code?

Is it feasible to compile Python to machine code? Question: How feasible would it be to compile Python (possibly via an intermediate C representation) into machine code? Presumably it would need to link to a Python runtime library, and any parts of the Python standard library which were Python themselves would need to be compiled …

Total answers: 10