Subject: | calls to numpy lib and segmentation faults |
Very interesting library you wrote, great work.
Nonetheless, I can't start using numpy, because of weird segmentation faults:
```
#!/usr/bin/env perl
use Test::More qw(no_plan);
require_ok('Inline::Python');
is(py_sub(1,2), -1, "test simple function");
diag(py_add());
exit;
use Inline Python => <<'END_OF_PYTHON_CODE';
import numpy as np
def py_sub(x,y):
return x - y
def py_add():
t = 0.0
s = 1.0
# work with: s = ...
#s = np.add(t,s)
t = np.add(t,s)
return t
END_OF_PYTHON_CODE
```
I tried it under docker with ubuntu and python3.5 and numpy installed system wide
and under centos 7 and python2.7 and numpy installed per user (pip install --user numpy).
Any ideas where to dig?