First, what's the output of:
python3 --version
Second, what's the output of:
raco pyffi show
And what do you get when you run:
raco pyffi configure
Btw - It might me faster to use the Racket Discord while we figure out, what's wrong.
For comparison, here is my output on macOS:
soegaard@mbp2 stxmat % raco pyffi show
Current configuration for 'pyffi'.
libdir = "/Library/Frameworks/Python.framework/Versions/3.10/lib"
data = "/Library/Frameworks/Python.framework/Versions/3.10"
Meaning:
libdir: location of the shared library 'libpython'
data: location of bin/ lib/ share/ etc.