boost
boost copied to clipboard
bootstrap.sh does not detect Python 3.8 on macOS, neither the one from macOS itself nor from MacPorts
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.
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