# Bug in config pyffi

**URL:** <https://racket.discourse.group/t/bug-in-config-pyffi/3056>\
**Category:** Questions & Answers\
**Tags:** question\
**Created:** [July 29, 2024, 9:46am UTC](https://racket.discourse.group/t/bug-in-config-pyffi/3056 "2024-07-29T09:46:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WSWZhh](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/wswzhh/32/1867_2.png) [@WSWZhh](https://racket.discourse.group/u/WSWZhh)\
**Post date:** [July 29, 2024, 9:46am UTC](https://racket.discourse.group/t/bug-in-config-pyffi/3056/1 "2024-07-29T09:46:59Z")

</div>

_ **already:** _  
PS F:\RacketFile\Functional-Programming-Racket-Parser\> raco pyffi show  
Current configuration for 'pyffi'.

```
libdir = "F:\\python3.10"
data = "F:\\python3.10"

```

Meaning:

```
libdir: location of the shared library 'libpython'
data: location of bin/ lib/ share/ etc.

```

_ **but in REPL** _  
"stacker\infer-code.rkt"\> (require pyffi)  
ffi-lib: could not load foreign library  
path: libpython3.10.dll  
system error: The specified module could not be found; win\_err=126  
[,bt for context]

_ **Why pyffib doesn't work？** _

---

<div class="post-metadata">

**Author:** ![soegaard](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/soegaard/32/19_2.png) [@soegaard](https://racket.discourse.group/u/soegaard)\
**Post date:** [July 29, 2024, 11:18am UTC](https://racket.discourse.group/t/bug-in-config-pyffi/3056/2 "2024-07-29T11:18:22Z")

</div>

Pyffi only works on macOS and Linux.

---

<div class="post-metadata">

**Author:** ![WSWZhh](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/wswzhh/32/1867_2.png) [@WSWZhh](https://racket.discourse.group/u/WSWZhh)\
**Post date:** [July 31, 2024, 8:06am UTC](https://racket.discourse.group/t/bug-in-config-pyffi/3056/3 "2024-07-31T08:06:14Z")

</div>

Sorry, didn't notice
