Solved: Modules/_curses.cpython-313-darwin.so: no such file or directory2025-02-16
If you are using macports instead of homebrew, you may have this problem. Solved by this: LDFLAGS=”-L/opt/local/lib” CPPFLAGS=”-I/opt/local/include” pyenv install 3.12.6