| 470 | |
| 471 | === macOS Troubleshooting === |
| 472 | |
| 473 | * `ERROR: virtualenv is not compatible with this system or executable` [[BR]] |
| 474 | `ERROR: The executable …0ad/libraries/source/spidermonkey/mozjs-78.6.0/build-debug/_virtualenvs/init_py3/bin/python3.9 is not functioning` [[BR]] |
| 475 | `ERROR: It thinks sys.prefix is '/usr/local/Cellar/python@3.9/…' (should be '…/init_py3')` [[BR]] |
| 476 | 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 may need to uninstall this first, by running: `brew uninstall --ignore-dependencies --force python@3.9`. Beware that if you did not explicitly choose to install this override, it likely came from another Homebrew package and uninstalling it may break that. Note that macOS 10.15+ comes with Python 3.8 by default, which means an override from Homebrew should generally not be necessary any more. |
| 477 | |