451 | | * `ERROR: virtualenv is not compatible with this system or executable` [[BR]] `ERROR: The executable …0ad/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3/bin/python3.9 is not functioning` [[BR]] `ERROR: It thinks sys.prefix is '/usr/local/Cellar/python@3.9/…' (should be '…/init_py3')` [[BR]] There is a known issue with how SpiderMonkey asserts whether python-virtualenv is working correctly. If you have a custom version of Python 3 installed from Homebrew, you will need to hide this from the 0AD build process. The simplest way is to temporarily set the following in your Terminal before building: [[BR]] `export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin` [[BR]] This temporarily moves Homebrew packages to the end of the list so that they only add and not override macOS system default packages, such as `python3` which SpiderMonkey needs to see, whilst still allowing added packages such as Rust to come through from Homebrew. [[BR]] If this doesn't work, you may try uninstalling the custom Python 3 installation entirely, by running `brew uninstall --ignore-dependencies --force python@3.9`. Beware that doing so will likely break other applications you may have installed via Homebrew, and thus may need to re-install it later. |