Skip to content Skip to sidebar Skip to footer
Showing posts with the label Python C Api

"no Module Named '_'" When Importing A Swig Module With Embedded Python

I'm trying to use SWIG with embedded Python 3.5.2. The following is built as a Windows console … Read more "no Module Named '_'" When Importing A Swig Module With Embedded Python

Numpy/capi Error With Import_array() When Compiling Multiple Modules

I am trying to compile a C++ module to use in scipy.weave that is composed of several headers and s… Read more Numpy/capi Error With Import_array() When Compiling Multiple Modules

How To Create A Custom Python Exception Type In C Extension?

I'm writing a Python module in C. I need to report errors that can't be described by built-… Read more How To Create A Custom Python Exception Type In C Extension?

Including And Distributing Third Party Libraries With A Python C Extension

I'm building a C Python extension which makes use of a 'third party' library— in this c… Read more Including And Distributing Third Party Libraries With A Python C Extension

Pyarg_parsetuple Segfaults In Capi

I am writing a code, trying to get used to the C API of NumPy arrays. #include #include 'nump… Read more Pyarg_parsetuple Segfaults In Capi

Pyobject Segfault On Function Call

I'm trying to use Python to open a dialog to accept input into my C++ application. Here is a v… Read more Pyobject Segfault On Function Call