boost icon indicating copy to clipboard operation
boost copied to clipboard

bootstrap.sh does not detect Python 3.8 on macOS, neither the one from macOS itself nor from MacPorts

Open fdik opened this issue 4 years ago • 2 comments

After running: $ ./bootstrap.sh --prefix=$HOME --with-python=/opt/local/bin/python3.8 still Python 2.7 of macOS is detected. Tried with and without path. Expected would be that it takes the mentioned Python version from this binary. A workaround is to use $ sudo port select python python38 This makes Python 3.8 the default reachable with just python, and ./bootstrap.sh works. But this is most likely not what the author of this script intended.

fdik avatar Apr 12 '21 22:04 fdik

debug.txt

fdik avatar Apr 12 '21 22:04 fdik

What output do you get when you run this manually?

/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python -c "from sys import *; print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1

DMaroo avatar May 27 '21 11:05 DMaroo