I also tried setting the PYTHON_LIBRARY environment variable to both the Python.framework/Python file (which is a dynamic library), and the libpython3.8.dylib in the lib
directory. Couldn't make either work. It looks like the best bet is to put Python.framework in /usr/local/Frameworks, or modify the library search paths to find the appropriate framework.
1 Like