Open 5pacedo9 opened 10 months ago
Well, after using ln -s /opt/homebrew/opt/python@3.8/bin/python3.8 /opt/homebrew/opt/python@3.8/bin/python3
, the error was gone, but new error comes
==> Installing gaia from mtg/essentia
/usr/bin/env tar --extract --no-same-owner --file /Users/5pacedo9/Library/Caches/Homebrew/downloads/1cbcb6e389d8f4d52cd3a3a31989443d3a5f4b6a29e4443e3b3bfd6f14d7245d--v2.4.6.tar.gz --directory /private/tmp/d20240118-19055-4sv8ao
/usr/bin/env cp -pR /private/tmp/d20240118-19055-4sv8ao/gaia-2.4.6/. /private/tmp/gaia-20240118-19055-b9vej7/gaia-2.4.6
==> /opt/homebrew/opt/python@3.8/bin/python3 waf configure --with-python-bindings --prefix=/opt/homebrew/Cellar/gaia/2.4.6
Waf: The wscript in '/private/tmp/gaia-20240118-19055-b9vej7/gaia-2.4.6' is unreadable
Traceback (most recent call last):
File "/private/tmp/gaia-20240118-19055-b9vej7/gaia-2.4.6/.waf3-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Scripting.py", line 104, in waf_entry_point
set_main_module(os.path.normpath(os.path.join(Context.run_dir,Context.WSCRIPT_FILE)))
File "/private/tmp/gaia-20240118-19055-b9vej7/gaia-2.4.6/.waf3-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Scripting.py", line 129, in set_main_module
Context.g_module=Context.load_module(file_path)
File "/private/tmp/gaia-20240118-19055-b9vej7/gaia-2.4.6/.waf3-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Context.py", line 354, in load_module
try:exec(compile(code,path,'exec'),module.__dict__)
File "/private/tmp/gaia-20240118-19055-b9vej7/gaia-2.4.6/wscript", line 15
except Exception, e:
^
SyntaxError: invalid syntax
I'm installing essentia with gaia, while
brew install gaia -v
, I met this:env: MacOS 11.7.10, M1 chip There's more than one versions of python on my Mac, 3.8, 3.9, 3.11, 3.12(installed by homebrew), and another 3.11 installed by anaconda. My $PATH:
/Users/5pacedo9/anaconda3/bin:/Users/5pacedo9/anaconda3/condabin://Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:.:/usr/local/mysql/bin
According to the log,Failed to execute: /opt/homebrew/opt/python@3.8/bin/python3
, there's no python3 in the dir, so I manually copied a python3.8(which was installed by homebrew and was also a dependency of gaia according to brew info) to the expected dir. However, after doing this, I still got the same error. As to the, I have no idea how to solve this.