On Macs dblatex has Python3 path to...
Status: Beta
Brought to you by:
marsgui
Hello!
On recent macOS Big Sur (Version 11.0.1), macOS High Sierra (Version 10.13.6), and rather classical Mac OS X 10.5.8, Snow Leopard (PPC) Python 3.8.3 is installed. Nevertheless the path to Python3 is recorded as
#!/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.83.8
The correct value is
1 | |
or just a simple
1 | |
--
Pete
Sorry, I made a mistake: The build script (in TCL) of the MacPorts package manager seems to be the cause for the faulty path to Python 3:
}
I could see that the built original scripts/dblatex starts with '#! /usr/bin/env python3', it is the installed file "${destroot}${prefix}/bin/dblatex" that has the wrong path. Obviously the value of "${python.bin}" is wrong in MacPorts' TCL build script. And this script was changed by me to adapt it from Python 2 to Python 3.