[Numpy-discussion] Re: Importing Numpy when using libpython

2022-06-09 Thread jensaxel
Hi, Thank you Matthew and Petr - you pointed in the right direction. The 2016-dicussion and Petr's explanation made it clear what the problem was. Petr Viktorin: > Does Racket's ffilib support RTLD_GLOBAL? Yes. All I had to do was to change (ffi-lib path-to-libpython) into (ffi-lib path-to-lib

[Numpy-discussion] Re: Importing Numpy when using libpython

2022-06-09 Thread Petr Viktorin
On 09. 06. 22 10:35, Matthew Brett wrote: Hi, On Wed, Jun 8, 2022 at 7:34 PM wrote: Hi All, Hope this is the right forum. I am working on using Numpy from the programming language Racket. My plan of attack is to use Python via `libpython`. That is, from Racket I use `ffilib` to load `libpy

[Numpy-discussion] Re: Importing Numpy when using libpython

2022-06-09 Thread Matthew Brett
Hi, On Wed, Jun 8, 2022 at 7:34 PM wrote: > > Hi All, > > Hope this is the right forum. > > I am working on using Numpy from the programming language Racket. > > My plan of attack is to use Python via `libpython`. > That is, from Racket I use `ffilib` to load `libpython` and from there I use > t