# Pyffi with numpy (\<1.26) low-level lib and Python 3.1x

**URL:** https://racket.discourse.group/t/pyffi-with-numpy-1-26-low-level-lib-and-python-3-1x/4036
**Category:** Questions & Answers
**Created:** [December 1, 2025, 5:44pm UTC](https://racket.discourse.group/t/pyffi-with-numpy-1-26-low-level-lib-and-python-3-1x/4036 "2025-12-01T17:44:32Z")
**Posts on this page:** 1
**Page:** 3

<div class="post-metadata">

### Author: ![damien\_mattei](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/damien_mattei/32/2706_2.png) [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)
#### Post date: [December 15, 2025, 1:32pm UTC](https://racket.discourse.group/t/pyffi-with-numpy-1-26-low-level-lib-and-python-3-1x/4036/41 "2025-12-15T13:32:52Z")

</div>

> [@LiberalArtist](#):
>
> Are you able to run Python programs without Racket, or even start a Python REPL? If your `python3.13` executable cannot load `libpython3.13.so.1.0`, it seems like your Python installation is broken, with nothing to do with Racket.

(i can no more test it as python has been installed wit V3.12 this early morning)When installed it worked, but as i tested many versions of Python in a one hour interval for pyffi compatibility last week, i suppose the last version get the priority in path and lib path possibly breaking the other installed versions.

The interesting point is to know if my modif code are usefull for installing. It is not sure if you have only one flavor of python.But it helped me when i had packaged versisons with for example `apt` under linux or `homebrew` with Mac.

Indeed i learn a lot about that, and for using Python , and with a web server running it, it is better not to use environment in my opinion, download python from the official site. With package manager i had path containing such silly things as 'python3.1x/python3.1y' with x and y being various numbers.

> [@LiberalArtist](#):
>
> This seems like a recipe for trouble.

It has advantage to share source code over hosts.  
In fact Racket understand the trouble, it complains having a binary for another host, or another racket version. I think Racket behaviour can be enhanced on this particuliar problem by simply recompiling the source code.

The solution is simply to remove manually the binaries or run:

```scheme
raco setup

```

[Previous page](https://racket.discourse.group/t/pyffi-with-numpy-1-26-low-level-lib-and-python-3-1x/4036.md?page=2)
