Closed jaredmoody closed 2 years ago
Making a symlink via:
ln -nfs /opt/homebrew/bin/python3 /opt/homebrew/bin/python
Seems to work around this. Apple pulled /usr/bin/python in macOS 12.3 so I'm guessing PYTHON_EXECUTABLE
is invoking python
and finding it missing on most macOS 12.3 setups now.
That worked for me too, thanks!
This doesn't work for me, i'm still getting this error:
==> Installing et from mistertea/et
==> cmake . -DDISABLE_VCPKG:BOOL=ON
Last 15 lines from /Users/binchenhu/Library/Logs/Homebrew/et/01.cmake:
-- Check size of long
-- Check size of long - done
-- Found CURL: /usr/local/opt/curl/lib/libcurl.dylib (found version "7.82.0")
CMake Error at /usr/local/Cellar/cmake/3.23.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at
least version "2.7")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.23.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.23.0/share/cmake/Modules/FindPythonInterp.cmake:169 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
external_imported/sentry-native/external/crashpad/util/CMakeLists.txt:354 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/et-20220401-3129-1h33ez5/EternalTerminal-et-v6.1.10/CMakeFiles/CMakeOutput.log".
See also "/tmp/et-20220401-3129-1h33ez5/EternalTerminal-et-v6.1.10/CMakeFiles/CMakeError.log".
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/mistertea/homebrew-et/issues`
Note that what I posted is Homebrew’s Apple Silicon path for python3. If you’re on an Intel Mac I believe you’ll need to swap for /usr/local/bin equivalents.
Homebrew has python installed at /opt/homebrew/bin/python3, but looks like it's not found when installing:
macOS 12.3, M1 Pro