Giter VIP home page Giter VIP logo

homebrew-essentia's Introduction

Homebrew-Essentia

Homebrew formulas for Essentia and Gaia installation

Install homebrew tap:

brew tap MTG/essentia

Install compiling the latest code from the master branch:

brew install essentia --HEAD

Install from master branch with Gaia support:

brew install essentia --HEAD --with-gaia

Install from master branch with TensorFlow support:

brew install essentia --HEAD --with-tensorflow

By default, the installation includes Python bindings for Python 3 and python Homebrew formula will be installed as a dependency. If you want to avoid it and skip building python extension, use the --without-python flag.

homebrew-essentia's People

Contributors

alastair avatar dbogdanov avatar vibhorbajpai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homebrew-essentia's Issues

Installation failed

I need essentia for my master thesis and can't make it work on my mac, been trying for 2 days till now, could you please help me?

(base) Zayns-MacBook-Pro:my_project zaynamed$ brew install essentia --head
==> Installing essentia from mtg/essentia
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/zaynamed/Library/Caches/Homebrew/essentia--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 95eca21 Update installation instructions
Entering 'test/audio'
Entering 'test/models'
/Users/zaynamed/Library/Caches/Homebrew/essentia--git/test/audio
/Users/zaynamed/Library/Caches/Homebrew/essentia--git/test/models
==> ./waf configure --mode=release --with-examples --with-vamp --prefix=/usr/local/Cellar/es
==> ./waf
==> ./waf install
==> python3 ./waf configure --mode=release --only-python --pkg-config-path=/usr/local/Cellar
Last 15 lines from /Users/zaynamed/Library/Logs/Homebrew/essentia/04.python3:
--pkg-config-path=/usr/local/Cellar/essentia/HEAD-95eca21/lib/pkgconfig/
--prefix=/usr/local/Cellar/essentia/HEAD-95eca21

Setting top to : /private/tmp/essentia-20200204-76674-1a3ylhd
Setting out to : /private/tmp/essentia-20200204-76674-1a3ylhd/build
→ configuring the project in /private/tmp/essentia-20200204-76674-1a3ylhd
→ Building in release mode
Checking for 'clang++' (C++ compiler) : clang++
Checking for 'clang' (C compiler) : clang
→ Searching *.pc pkg-config files for dependencies in /usr/local/Cellar/essentia/HEAD-95eca21/lib/pkgconfig/
→ Building only Essentia's python bindings (libessentia should be pre-installed)
Checking for program 'pkg-config' : /usr/local/opt/pkg-config/bin/pkg-config
Checking for 'essentia' : not found
The configuration failed
(complete log in /private/tmp/essentia-20200204-76674-1a3ylhd/build/config.log)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/mtg/homebrew-essentia/issues

Essentia install error on mac OS

I installed essentia earlier today using homebrew and it worked like a charm. Then I decided I needed to remove anaconda and do a clean install of homebrew to start setting up my environments with a clean slate.

When I try to install essentia now, I get the following error:

Last 15 lines from /Users/Christoffer/Library/Logs/Homebrew/essentia/02.waf:
../src/algorithms/standard/constantq.cpp:104:58: error: implicit conversion from '_Complex double' to 'double' is not permitted in C++
vector<complex > hammingWindow(_FFTLength, 0.0 + 0.0j);
~~~~^~~~~~
../src/algorithms/standard/constantq.cpp:105:63: error: implicit conversion from '_Complex double' to 'float' is not permitted in C++
vector<complex > transfHammingWindowR(_FFTLength, 0.0 + 0.0j);
~~~~^~~~~~
../src/algorithms/standard/constantq.cpp:120:42: error: implicit conversion from '_Complex double' to 'double' is not permitted in C++
hammingWindow.assign(_FFTLength, 0.0 + 0.0j);
~~~~^~~~~~
4 errors generated.
Waf: Leaving directory `/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build'
Build failed
-> task in 'essentia' failed (exit status 1):
{task 4500648784: cxx constantq.cpp -> constantq.cpp.1.o}
['clang++', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-w', '-fPIC', '-compatibility_version', '1', '-current_version', '1', '-fPIC', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src/essentia', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src/essentia', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src/essentia/scheduler', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src/essentia/scheduler', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src/essentia/streaming', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src/essentia/streaming', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src/essentia/streaming/algorithms', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src/essentia/streaming/algorithms', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src/essentia/utils', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src/essentia/utils', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src/3rdparty', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src/3rdparty', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src/3rdparty/spline', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src/3rdparty/spline', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/build/src/3rdparty/vamp-plugin-sdk-2.4', '-I/private/tmp/essentia-20180629-3371-1mpn39t/essentia-2.1_beta3/src/3rdparty/vamp-plugin-sdk-2.4', '-I/usr/local/Cellar/fftw/3.3.8/include', '-I/usr/local/Cellar/ffmpeg/4.0.1/include', '-I/usr/local/Cellar/libsamplerate/0.1.9/include', '-I/usr/local/Cellar/taglib/1.11.1/include/taglib', '-I/usr/local/Cellar/libyaml/0.2.1/include', '-DGTEST_HAS_TR1_TUPLE=0', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_AVRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/local/Cellar/essentia/2.1_beta3/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/local/Cellar/essentia/2.1_beta3/lib/python2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../src/algorithms/standard/constantq.cpp', '-c', '-o', 'src/algorithms/standard/constantq.cpp.1.o']

To be honest I have no idea what's going wrong here.
I only have the native mac Python installed as I just removed all other Python versions.

I also tried to install using brew install --HEAD (as suggested as a solution to issue #8), but to no avail

MacBook Pro Late 2013
High Sierra 10.13.4

Installation failed

Hi, I'm reporting an issue:

$ brew install essentia --HEAD
Updating Homebrew...
==> Installing essentia from mtg/essentia
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/sol/Library/Caches/Homebrew/essentia--git
From https://github.com/MTG/essentia
   bfd48a4b..0f1a2e97  master     -> origin/master
==> Checking out branch master
Already on 'master'
Your branch is behind 'origin/master' by 15 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 0f1a2e97 Merge branch 'master' of github.com:MTG/essentia
Entering 'test/audio'
Entering 'test/models'
/Users/sol/Library/Caches/Homebrew/essentia--git/test/audio
/Users/sol/Library/Caches/Homebrew/essentia--git/test/models
==> python3 waf configure --mode=release --with-examples --with-vamp --prefix=/u
==> python3 waf
==> python3 waf install
==> python3 waf configure --mode=release --only-python --prefix=/usr/local/Cella
==> python3 waf
Last 15 lines from /Users/sol/Library/Logs/Homebrew/essentia/05.python3:
  File "/private/tmp/essentia-20200226-84310-mg0ls9/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Build.py", line 96, in execute_build
    self.recurse([self.run_dir])
  File "/private/tmp/essentia-20200226-84310-mg0ls9/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Context.py", line 126, in recurse
    user_function(self)
  File "/private/tmp/essentia-20200226-84310-mg0ls9/wscript", line 315, in build
    ctx.recurse('src')
  File "/private/tmp/essentia-20200226-84310-mg0ls9/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Context.py", line 126, in recurse
    user_function(self)
  File "/private/tmp/essentia-20200226-84310-mg0ls9/src/wscript", line 456, in build
    ctx.recurse('python')
  File "/private/tmp/essentia-20200226-84310-mg0ls9/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Context.py", line 126, in recurse
    user_function(self)
  File "/private/tmp/essentia-20200226-84310-mg0ls9/src/python/wscript", line 45, in build
    __import__('numpy').get_include(),
AttributeError: module 'numpy' has no attribute 'get_include'

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/mtg/homebrew-essentia/issues

Warning about numpy during install process (repeated 13 times)

When running brew tap MTG/essentia I noticed the following output early on in the process:

==> Tapping homebrew/python
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-python'...
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), done.
Tapped 0 formulae (30 files, 22.8K)
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
Warning: Use numpy instead of deprecated homebrew/python/numpy
==> Installing dependencies for mtg/essentia/essentia: gmp, mpfr, libmpc, isl, gcc, readline, sqlite, gdbm, libpng, freetype, openssl, python, homebrew/python/numpy, libyaml, fftw, x264, ffmpeg, libsamplerate, libtag

It looks like the dependencies list should probably be updated to include simply numpy instead of homebrew/python/numpy.

Can't locate extractor examples

Need a little help locating the extractor examples (essentia_streaming_extractor_freesound etc.) installing this, are they installed with the brew installation?

(I tried downloading the precompiled binaries and they won't link so I'm trying to do it this way.)

Installation failed on macOS Big Sur

brew install essentia --HEAD fails on latest macOS Big Sur.

The error message is:
Error: libbluray: Calling depends_on :java is disabled! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.

I am using macOS Big Sur, v 11.1.

installing essentia for python on mac (including 10.11)

Hi,

I want to install essentia on my mac, this mac doesn't support os 10.12 and later. is it possible to install it via pip ? (I installed numpy, scipy, matplotlib on python3 with pip and everything seems to work well).

I try to install brew on this computer and it seems to not be such a good idea (this is what I get on the command line):

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

==> You are using macOS 10.11.
==> We (and Apple) do not provide support for this old version.
This installation may not succeed.
After installation, you will encounter build failures and other breakages.
Please create pull requests instead of asking for help on Homebrew's
GitHub, Discourse, Twitter or IRC. As you are running this old version,
you are responsible for resolving any issues you experience.


So I wonder if I really want to "encounter build failures and other breakages" :-) ...

Also, I see that there was some issues with brew install, are they solved?
#8

thanks,
Loïc

Installation failing with Homebrew

brew install essentia --HEAD fails on latest macOS Big Sur (version 11.2)

The error is:

Last 15 lines from /Users/shashank/Library/Logs/Homebrew/essentia/04.python3: File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Build.py", line 414, in get_build_iterator self.post_group() File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Build.py", line 362, in post_group tgpost(tg) File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Build.py", line 359, in tgpost f() File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/TaskGen.py", line 123, in post v() File "/private/tmp/essentia-20210208-30590-meg21s/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Tools/c_osx.py", line 29, in set_macosx_deployment_target os.environ['MACOSX_DEPLOYMENT_TARGET']=self.env.MACOSX_DEPLOYMENT_TARGET File "/usr/local/Cellar/[email protected]/3.8.7_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 680, in __setitem__ value = self.encodevalue(value) File "/usr/local/Cellar/[email protected]/3.8.7_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/os.py", line 750, in encode raise TypeError("str expected, not %s" % type(value).__name__) TypeError: str expected, not int

Essentia install fails on MacOS with 'Broken revdeps detected'

Following steps outlined here, (ticket #30), and the installation steps.

$ python3 waf configure --build-static --with-python --with-cpptests --with-examples --with-vamp

Setting top to : /code/data-pipeline/essentia-2.1_beta5
Setting out to : /code/data-pipeline/essentia-2.1_beta5/build
→ configuring the project in /code/data-pipeline/essentia-2.1_beta5
→ Building in release mode
Checking for 'clang++' (C++ compiler) : /usr/bin/clang++
Checking for 'clang' (C compiler) : /usr/bin/clang
Checking for program 'pkg-config' : /usr/local/bin/pkg-config
Checking for 'libavcodec' >= 55.34.1 : not found
Checking for 'libavformat' : not found
Checking for 'libavutil' : not found
Checking for 'libavresample' : not found
Checking for 'samplerate' : yes
Checking for 'taglib' >= 1.9 : yes
Checking for 'yaml-0.1' : yes
Checking for 'fftw3f' : yes
Checking for 'libchromaprint' : yes
Checking for 'clang' (C compiler) : /usr/bin/clang
Checking for program 'python' : /code/data-pipeline/venv/bin/python3
Checking for python version >= 2.7.0 : 3.7.2
→ Configuring for python3
python-config : /usr/local/bin/python3.7-config
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration : yes
Checking for python module 'numpy' : 1.21.6

================================ CONFIGURATION SUMMARY ================================

  • using FFTW for FFT

  • fftw detected!

  • FFmpeg (or LibAv on debian/ubuntu) seems to be missing.
    The following algorithms will be ignored: ['AudioLoader', 'MonoLoader', 'EqloudLoader', 'EasyLoader', 'MonoWriter', 'AudioWriter']

  • libsamplerate (SRC) detected!
    The following algorithms will be included: ['Resample']

  • TagLib detected!
    The following algorithms will be included: ['MetadataReader', 'MusicExtractor', 'FreesoundExtractor']

  • libyaml detected!
    The following algorithms will be included: ['YamlInput', 'YamlOutput']

  • Essentia is configured without Gaia2.
    The following algorithms will be ignored: ['GaiaTransform', 'MusicExtractorSVM']
    Examples requiring Gaia2 will be ignored

  • Chromaprint detected!
    The following algorithms will be included: ['Chromaprinter']

Building all the algorithms
Ignoring the following algorithms: FFTAComplex, MonoLoader, MonoWriter, AudioWriter, FFTA, MusicExtractorSVM, FFTKComplex, IFFTA, AudioLoader, EasyLoader, IFFTK, IFFTKComplex, IFFTAComplex, GaiaTransform, FFTK, EqloudLoader
Created algorithms registration file

  • Building static library
  • Building Python extension
  • Building examples
  • Building Vamp plugin
    =======================================================================================
    'configure' finished successfully (1.479s)

ISSUE 1

Firstly, any way around this? -

FFmpeg (or LibAv on debian/ubuntu) seems to be missing.

I do have ffmpeg installed:

~ >> ffmpeg -version
ffmpeg version 6.0-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100

Is this a wrong version?


ISSUE 2

Secondly, I then do a python3 waf -v and get this error:

Broken revdeps detected on {
	{task 140253724090264: cxxprogram gtest-all.cc.1.o,test_audioloader.cpp.1.o,test_composite.cpp.1.o,test_connectors.cpp.1.o,test_copy.cpp.1.o,test_fileoutput.cpp.1.o,test_main.cpp.1.o,test_math.cpp.1.o,test_network.cpp.1.o,test_networkparser.cpp.1.o,test_parameter.cpp.1.o,test_peak.cpp.1.o,test_pool.cpp.1.o,test_scheduler.cpp.1.o,test_stringutil.cpp.1.o,test_treetraversal.cpp.1.o,test_vectorinput.cpp.1.o,test_vectoroutput.cpp.1.o -> basetest}}

These errors seem to mostly be like this:

In file included from ../test/src/basetest/test_audioloader.cpp:20:
In file included from ../test/src/basetest/essentia_gtest.h:23:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/iostream:39:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/istream:163:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/c++/v1/ostream:142:
../version:1:1: error: expected unqualified-id
2.1-beta5

Any idea as to how to work around these?

Attaching a fuller output:

waf-output.txt

Make python@2 builds optional

Only build for Python 3 by default.

Get rid of the default dependency on python@2and make builds for it optional with a new --with-python@2 flag.

Unable to install Essentia

Hi,
I tried installing essentia using homebrew following the instructions on the page, but was unable to do so. This is the error I'm getting:

Last 15 lines from /Users/steffen_herff/Library/Logs/Homebrew/essentia/02.waf:
../src/algorithms/standard/constantq.cpp:104:58: error: implicit conversion from '_Complex double' to 'double' is not permitted in C++
vector<complex > hammingWindow(_FFTLength, 0.0 + 0.0j);
~~~~^~~~~~
../src/algorithms/standard/constantq.cpp:105:63: error: implicit conversion from '_Complex double' to 'float' is not permitted in C++
vector<complex > transfHammingWindowR(_FFTLength, 0.0 + 0.0j);
~~~~^~~~~~
../src/algorithms/standard/constantq.cpp:120:42: error: implicit conversion from '_Complex double' to 'double' is not permitted in C++
hammingWindow.assign(_FFTLength, 0.0 + 0.0j);
~~~~^~~~~~
4 errors generated.
Waf: Leaving directory `/private/tmp/essentia-20181015-30480-114o76z/essentia-2.1_beta3/build'
Build failed

Any idea what the issue could be?

Installation on MacOS fails

Trying to install essentia with gaia on Mac. Run into the following error (same result on two different Macs):

Andreis-iMac-Pro:~ andreivolgin$ brew install essentia --HEAD --with-gaia
==> Installing essentia from mtg/essentia
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/andreivolgin/Library/Caches/Homebrew/essentia--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 8c1d4f0 Merge branch 'master' of github.com:MTG/essentia
Entering 'test/audio'
/Users/andreivolgin/Library/Caches/Homebrew/essentia--git/test/audio
==> ./waf configure --with-gaia --mode=release --with-examples --with-vamp --prefix=/usr/local/Cellar/essentia/HEAD-8c1d4f0
==> ./waf
Last 15 lines from /Users/andreivolgin/Library/Logs/Homebrew/essentia/02.waf:
    const EIGEN_ALIGN16 long long int _Sign_NP[2] = { 0x8000000000000000ll, 0x0000000000000000ll };
                                                      ^~~~~~~~~~~~~~~~~~~~
                                                      static_cast<long long>( )
/usr/local/Cellar/gaia/HEAD-95f4851/include/gaia2/Eigen/src/LU/arch/Inverse_SSE.h:186:77: error: constant expression evaluates to 9223372036854775808 which cannot be narrowed to type 'long long' [-Wc++11-narrowing]
    const EIGEN_ALIGN16 long long int _Sign_PN[2] = { 0x0000000000000000ll, 0x8000000000000000ll };
                                                                            ^~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/gaia/HEAD-95f4851/include/gaia2/Eigen/src/LU/arch/Inverse_SSE.h:186:77: note: insert an explicit cast to silence this issue
    const EIGEN_ALIGN16 long long int _Sign_PN[2] = { 0x0000000000000000ll, 0x8000000000000000ll };
                                                                            ^~~~~~~~~~~~~~~~~~~~
                                                                            static_cast<long long>( )
4 errors generated.

Waf: Leaving directory `/private/tmp/essentia-20190527-59732-1y88c0n/build'
Build failed
 -> task in 'essentia' failed with exit status 1 (run with -v to display more information)

install fails with avcodec

If I run brew install essentia --HEAD I get

==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.tar.gz
Already downloaded: /Users/roc/Library/Caches/Homebrew/downloads/22c9c7a937f5bb39678fed6ea3266190990eedb811f541ddc6b35ae42dc0e2e9--six-1.14.0.tar.gz
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/roc/Library/Caches/Homebrew/essentia--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at e226b152 Fix broken links to Essentia.js demos
Entering 'test/audio'
Entering 'test/models'
/Users/roc/Library/Caches/Homebrew/essentia--git/test/audio
/Users/roc/Library/Caches/Homebrew/essentia--git/test/models
==> Installing essentia from mtg/essentia
==> /opt/homebrew/opt/[email protected]/bin/python3 waf configure --mode=release --with-examples --with-vamp --prefix=/opt/homebrew/Cellar/essentia/HEAD-e226b15
==> /opt/homebrew/opt/[email protected]/bin/python3 waf
Last 15 lines from /Users/roc/Library/Logs/Homebrew/essentia/02.python3:
avcodec_decode_subtitle2
/opt/homebrew/Cellar/ffmpeg/5.0/include/libavcodec/avcodec.h:2531:5: note: 'avcodec_decode_subtitle2' declared here
int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
^
../src/algorithms/io/audioloader.cpp:264:47: error: cannot initialize a parameter of type 'AVSubtitle *' with an lvalue of type 'AVFrame *'
int len = avcodec_decode_audio4(audioCtx, _decodedFrame, &gotFrame, packet);
^~~~~~~~~~~~~
/opt/homebrew/Cellar/ffmpeg/5.0/include/libavcodec/avcodec.h:2531:65: note: passing argument to parameter 'sub' here
int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
^
8 errors generated.

Essentia does not install correctly on MAC OSX

Hello,

after attempting to install Essentia under Mac using the Homebrew formula, I got stopped at the following problem:

Last 15 lines from /Users/athanasioslykartsis/Library/Logs/Homebrew/essentia/01.waf:
File "/private/tmp/essentia-20180308-13457-g6f6mv/essentia-2.1_beta3/.waf3-1.7.9-16e1644c17ba46b94844133bac6e2a8c/waflib/Configure.py", line 224, in fun
return f(*k,**kw)
File "/private/tmp/essentia-20180308-13457-g6f6mv/essentia-2.1_beta3/.waf3-1.7.9-16e1644c17ba46b94844133bac6e2a8c/waflib/Tools/c_config.py", line 375, in check
ret=self.run_c_code(*k,**kw)
File "/private/tmp/essentia-20180308-13457-g6f6mv/essentia-2.1_beta3/.waf3-1.7.9-16e1644c17ba46b94844133bac6e2a8c/waflib/Configure.py", line 224, in fun
return f(*k,**kw)
File "/private/tmp/essentia-20180308-13457-g6f6mv/essentia-2.1_beta3/.waf3-1.7.9-16e1644c17ba46b94844133bac6e2a8c/waflib/Tools/c_config.py", line 459, in run_c_code
bld.compile()
File "/private/tmp/essentia-20180308-13457-g6f6mv/essentia-2.1_beta3/.waf3-1.7.9-16e1644c17ba46b94844133bac6e2a8c/waflib/Build.py", line 196, in compile
self.store()
File "/private/tmp/essentia-20180308-13457-g6f6mv/essentia-2.1_beta3/.waf3-1.7.9-16e1644c17ba46b94844133bac6e2a8c/waflib/Utils.py", line 386, in f
ret=fun(*k,**kw)
File "/private/tmp/essentia-20180308-13457-g6f6mv/essentia-2.1_beta3/.waf3-1.7.9-16e1644c17ba46b94844133bac6e2a8c/waflib/Build.py", line 170, in store
cPickle.dump(data,f,-1)
AttributeError: Can't pickle local object 'Context.init..node_class'

I will try to make it another way, but please let me know if there is a fix.

The machine has MacOS Sierra (10.12.6) on it, and it from mid 2010. Python 2.7 is native and a conda environment of Python 3.6 in installed as well.

Thank you.

Thanos

brew install essentia not working

Hi, when I try to "brew install essentia" I get an error connected to some git stuff to be manually merged (here below). Is there any workaround?
Thanks!

==> Installing essentia from mtg/essentia
Error: gmp: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gmp.rb:18: syntax error, unexpected <<, expecting keyword_end
<<<<<<< Updated upstream
  ^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gmp.rb:21: syntax error, unexpected ===, expecting keyword_end
=======
   ^
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/gmp.rb:24: syntax error, unexpected >>, expecting keyword_end
>>>>>>> Stashed changes
  ^
MacBook-Pro-di-Daniele-2:~ danieleghisi$ 

Index out of range while configuring --with-python-bindings on macOS Sierra

After "brew install gaia --HEAD" command I get this error.
2017-05-02 21 16 24
I've seen that this issue was resolved here, but didn't find a solution in gaia documentation (as said in closed thread).
Could you send me direct link to solution of my problem in gaia documentation (if you know where), or give an advise, how to deal with it? I would really appreciate any ideas!

AttributeError: module 'numpy' has no attribute 'get_include'

I'm trying to install Essentia and getting the following error:

==> Installing essentia from mtg/essentia
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/slav/Library/Caches/Homebrew/essentia--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 0a17738 Merge branch 'master' of github.com:MTG/essentia
Entering 'test/audio'
Entering 'test/models'
/Users/slav/Library/Caches/Homebrew/essentia--git/test/audio
/Users/slav/Library/Caches/Homebrew/essentia--git/test/models
==> python3 waf configure --mode=release --with-examples --with-vamp --prefix=/usr/local/Cellar/essentia/HEAD-
==> python3 waf
==> python3 waf install
==> python3 waf configure --mode=release --only-python --prefix=/usr/local/Cellar/essentia/HEAD-0a17738
==> python3 waf
Last 15 lines from /Users/slav/Library/Logs/Homebrew/essentia/05.python3:
  File "/private/tmp/essentia-20200217-87790-1s8oxy4/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Build.py", line 96, in execute_build
    self.recurse([self.run_dir])
  File "/private/tmp/essentia-20200217-87790-1s8oxy4/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Context.py", line 126, in recurse
    user_function(self)
  File "/private/tmp/essentia-20200217-87790-1s8oxy4/wscript", line 315, in build
    ctx.recurse('src')
  File "/private/tmp/essentia-20200217-87790-1s8oxy4/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Context.py", line 126, in recurse
    user_function(self)
  File "/private/tmp/essentia-20200217-87790-1s8oxy4/src/wscript", line 456, in build
    ctx.recurse('python')
  File "/private/tmp/essentia-20200217-87790-1s8oxy4/.waf3-2.0.18-77b2fa32f72970f15a949a4a564841e2/waflib/Context.py", line 126, in recurse
    user_function(self)
  File "/private/tmp/essentia-20200217-87790-1s8oxy4/src/python/wscript", line 45, in build
    __import__('numpy').get_include(),
AttributeError: module 'numpy' has no attribute 'get_include'

Gaia installation issue on Sierra 10.12.4

Following the installation instruction "Build from command-line using Homebrew (recommended)", but ran into the following. Any suggestion?

$ brew install gaia --HEAD

==> Installing gaia from mtg/essentia
==> Cloning https://github.com/MTG/gaia.git
Updating /Users/myName/Library/Caches/Homebrew/gaia--git
==> Checking out branch master
==> ./waf configure --with-python-bindings --prefix=/usr/local/Cellar/gaia/HEAD-bb4a8e7
Last 15 lines from /Users/myName/Library/Logs/Homebrew/gaia/01.waf:
  File "/private/tmp/gaia-20170419-23397-1htt9b/.waf-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Scripting.py", line 114, in waf_entry_point
    run_commands()
  File "/private/tmp/gaia-20170419-23397-1htt9b/.waf-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Scripting.py", line 175, in run_commands
    ctx=run_command(cmd_name)
  File "/private/tmp/gaia-20170419-23397-1htt9b/.waf-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Scripting.py", line 166, in run_command
    ctx.execute()
  File "/private/tmp/gaia-20170419-23397-1htt9b/.waf-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Configure.py", line 87, in execute
    super(ConfigurationContext,self).execute()
  File "/private/tmp/gaia-20170419-23397-1htt9b/.waf-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Context.py", line 93, in execute
    self.recurse([os.path.dirname(g_module.root_path)])
  File "/private/tmp/gaia-20170419-23397-1htt9b/.waf-1.8.21-71bc2f1f9d6d313df7b3e05a55143f91/waflib/Context.py", line 134, in recurse
    user_function(self)
  File "/private/tmp/gaia-20170419-23397-1htt9b/wscript", line 199, in configure
    ' -framework ' + conf.env['FRAMEWORK_QTCORE'][0],
IndexError: list index out of range

task in 'essentia' failed with exit status 1

2021-08-18 23:45:07 +0200

/opt/homebrew/opt/[email protected]/bin/python3
waf

Waf: Entering directory `/private/tmp/essentia-20210818-51986-p0fki4/build'
→ building from /private/tmp/essentia-20210818-51986-p0fki4
→ building from /private/tmp/essentia-20210818-51986-p0fki4/src
Building all the algorithms
Ignoring the following algorithms: TensorflowPredict, TensorflowPredictMusiCNN, FFTK, TensorflowPredictVGGish, MusicExtractorSVM, IFFTK, FFTAComplex, FFTKComplex, TensorflowPredictTempoCNN, GaiaTransform, IFFTKComplex, TempoCNN, IFFTAComplex, IFFTA, FFTA
Created algorithms registration file
→ building from /private/tmp/essentia-20210818-51986-p0fki4/src/examples
[ 1/301] Compiling src/algorithms/rhythm/tempotapmaxagreement.cpp
[ 2/301] Compiling src/algorithms/extractor/barkextractor.cpp
[ 3/301] Compiling src/algorithms/tonal/chordsdescriptors.cpp
[ 4/301] Compiling src/essentia/utils/extractor_music/MusicLowlevelDescriptors.cpp
[ 5/301] Compiling src/essentia/streaming/algorithms/ringbufferinput.cpp
[ 6/301] Compiling src/essentia/parameter.cpp
[ 7/301] Compiling src/essentia/connector.cpp
[ 8/301] Compiling src/essentia/algorithm.cpp
error: unknown FP unit 'sse'

error: unknown FP unit 'sse'

error: unknown FP unit 'sse'

error: unknown FP unit 'sse'

error: unknown FP unit 'sse'

error: unknown FP unit 'sse'

error: unknown FP unit 'sse'

error: unknown FP unit 'sse'

Waf: Leaving directory `/private/tmp/essentia-20210818-51986-p0fki4/build'
Build failed
-> task in 'essentia' failed with exit status 1 (run with -v to display more information)
-> task in 'essentia' failed with exit status 1 (run with -v to display more information)
-> task in 'essentia' failed with exit status 1 (run with -v to display more information)
-> task in 'essentia' failed with exit status 1 (run with -v to display more information)
-> task in 'essentia' failed with exit status 1 (run with -v to display more information)
-> task in 'essentia' failed with exit status 1 (run with -v to display more information)
-> task in 'essentia' failed with exit status 1 (run with -v to display more information)
-> task in 'essentia' failed with exit status 1 (run with -v to display more information)

HOMEBREW_VERSION: 3.2.8
ORIGIN: https://github.com/Homebrew/brew
HEAD: f026dd21c195952747395ebdda24327204f012ec
Last commit: 24 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 1f30689d7e32f491f20170bf28604f1ed38fe95b
Core tap last commit: 33 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_BOOTSNAP: set
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 12.0.5 build 1205
Git: 2.30.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.5-arm64
CLT: 12.5.1.0.1.1623191612
Xcode: N/A
Rosetta 2: false

HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /opt/homebrew/opt/[email protected]:/opt/homebrew/opt/libffi:/opt/homebrew/opt/m4:/opt/homebrew/opt/readline:/opt/homebrew/opt/sqlite:/opt/homebrew/opt/icu4c:/opt/homebrew/opt/openblas:/opt/homebrew
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /opt/homebrew/opt/[email protected]/Frameworks
PKG_CONFIG_PATH: /opt/homebrew/opt/libyaml/lib/pkgconfig:/opt/homebrew/opt/gmp/lib/pkgconfig:/opt/homebrew/opt/isl/lib/pkgconfig:/opt/homebrew/opt/mpfr/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig:/opt/homebrew/opt/hwloc/lib/pkgconfig:/opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/libevent/lib/pkgconfig:/opt/homebrew/opt/open-mpi/lib/pkgconfig:/opt/homebrew/opt/fftw/lib/pkgconfig:/opt/homebrew/opt/aom/lib/pkgconfig:/opt/homebrew/opt/dav1d/lib/pkgconfig:/opt/homebrew/opt/libpng/lib/pkgconfig:/opt/homebrew/opt/freetype/lib/pkgconfig:/opt/homebrew/opt/fontconfig/lib/pkgconfig:/opt/homebrew/opt/frei0r/lib/pkgconfig:/opt/homebrew/opt/bdw-gc/lib/pkgconfig:/opt/homebrew/opt/libffi/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/guile/lib/pkgconfig:/opt/homebrew/opt/libidn2/lib/pkgconfig:/opt/homebrew/opt/libtasn1/lib/pkgconfig:/opt/homebrew/opt/nettle/lib/pkgconfig:/opt/homebrew/opt/p11-kit/lib/pkgconfig:/opt/homebrew/opt/c-ares/lib/pkgconfig:/opt/homebrew/opt/jemalloc/lib/pkgconfig:/opt/homebrew/opt/nghttp2/lib/pkgconfig:/opt/homebrew/opt/unbound/lib/pkgconfig:/opt/homebrew/opt/gnutls/lib/pkgconfig:/opt/homebrew/opt/fribidi/lib/pkgconfig:/opt/homebrew/opt/pcre/lib/pkgconfig:/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/glib/lib/pkgconfig:/opt/homebrew/opt/libpthread-stubs/lib/pkgconfig:/opt/homebrew/opt/libxau/lib/pkgconfig:/opt/homebrew/opt/libxdmcp/lib/pkgconfig:/opt/homebrew/opt/libxcb/lib/pkgconfig:/opt/homebrew/opt/libx11/lib/pkgconfig:/opt/homebrew/opt/libxext/lib/pkgconfig:/opt/homebrew/opt/libxrender/lib/pkgconfig:/opt/homebrew/opt/lzo/lib/pkgconfig:/opt/homebrew/opt/pixman/lib/pkgconfig:/opt/homebrew/opt/cairo/lib/pkgconfig:/opt/homebrew/opt/gobject-introspection/lib/pkgconfig:/opt/homebrew/opt/graphite2/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/harfbuzz/lib/pkgconfig:/opt/homebrew/opt/libass/lib/pkgconfig:/opt/homebrew/opt/libbluray/lib/pkgconfig:/opt/homebrew/opt/libsoxr/lib/pkgconfig:/opt/homebrew/opt/libvidstab/lib/pkgconfig:/opt/homebrew/opt/libogg/lib/pkgconfig:/opt/homebrew/opt/libvorbis/lib/pkgconfig:/opt/homebrew/opt/libvpx/lib/pkgconfig:/opt/homebrew/opt/opencore-amr/lib/pkgconfig:/opt/homebrew/opt/jpeg/lib/pkgconfig:/opt/homebrew/opt/libtiff/lib/pkgconfig:/opt/homebrew/opt/little-cms2/lib/pkgconfig:/opt/homebrew/opt/openjpeg/lib/pkgconfig:/opt/homebrew/opt/opus/lib/pkgconfig:/opt/homebrew/opt/rav1e/lib/pkgconfig:/opt/homebrew/opt/flac/lib/pkgconfig:/opt/homebrew/opt/libsndfile/lib/pkgconfig:/opt/homebrew/opt/libsamplerate/lib/pkgconfig:/opt/homebrew/opt/rubberband/lib/pkgconfig:/opt/homebrew/opt/sdl2/lib/pkgconfig:/opt/homebrew/opt/speex/lib/pkgconfig:/opt/homebrew/opt/srt/lib/pkgconfig:/opt/homebrew/opt/webp/lib/pkgconfig:/opt/homebrew/opt/leptonica/lib/pkgconfig:/opt/homebrew/opt/tesseract/lib/pkgconfig:/opt/homebrew/opt/theora/lib/pkgconfig:/opt/homebrew/opt/x264/lib/pkgconfig:/opt/homebrew/opt/x265/lib/pkgconfig:/opt/homebrew/opt/libsodium/lib/pkgconfig:/opt/homebrew/opt/zeromq/lib/pkgconfig:/opt/homebrew/opt/zimg/lib/pkgconfig:/opt/homebrew/opt/ffmpeg/lib/pkgconfig:/opt/homebrew/opt/taglib/lib/pkgconfig:/opt/homebrew/opt/chromaprint/lib/pkgconfig:/opt/homebrew/opt/openblas/lib/pkgconfig:/opt/homebrew/opt/eigen/share/pkgconfig:/opt/homebrew/opt/xorgproto/share/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/11
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
ACLOCAL_PATH: /opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/pkg-config/bin:/opt/homebrew/opt/gcc/bin:/opt/homebrew/opt/zstd/bin:/opt/homebrew/opt/hwloc/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/libevent/bin:/opt/homebrew/opt/open-mpi/bin:/opt/homebrew/opt/fftw/bin:/opt/homebrew/opt/aom/bin:/opt/homebrew/opt/dav1d/bin:/opt/homebrew/opt/libpng/bin:/opt/homebrew/opt/freetype/bin:/opt/homebrew/opt/fontconfig/bin:/opt/homebrew/opt/m4/bin:/opt/homebrew/opt/libtool/bin:/opt/homebrew/opt/guile/bin:/opt/homebrew/opt/gettext/bin:/opt/homebrew/opt/libidn2/bin:/opt/homebrew/opt/libtasn1/bin:/opt/homebrew/opt/nettle/bin:/opt/homebrew/opt/p11-kit/bin:/opt/homebrew/opt/c-ares/bin:/opt/homebrew/opt/jemalloc/bin:/opt/homebrew/opt/nghttp2/bin:/opt/homebrew/opt/gnutls/bin:/opt/homebrew/opt/lame/bin:/opt/homebrew/opt/fribidi/bin:/opt/homebrew/opt/pcre/bin:/opt/homebrew/opt/gdbm/bin:/opt/homebrew/opt/sqlite/bin:/opt/homebrew/opt/xz/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/glib/bin:/opt/homebrew/opt/cairo/bin:/opt/homebrew/opt/gobject-introspection/bin:/opt/homebrew/opt/graphite2/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/harfbuzz/bin:/opt/homebrew/opt/libbluray/bin:/opt/homebrew/opt/jpeg/bin:/opt/homebrew/opt/libtiff/bin:/opt/homebrew/opt/little-cms2/bin:/opt/homebrew/opt/openjpeg/bin:/opt/homebrew/opt/rav1e/bin:/opt/homebrew/opt/flac/bin:/opt/homebrew/opt/libsndfile/bin:/opt/homebrew/opt/libsamplerate/bin:/opt/homebrew/opt/rubberband/bin:/opt/homebrew/opt/sdl2/bin:/opt/homebrew/opt/srt/bin:/opt/homebrew/opt/giflib/bin:/opt/homebrew/opt/webp/bin:/opt/homebrew/opt/leptonica/bin:/opt/homebrew/opt/tesseract/bin:/opt/homebrew/opt/x264/bin:/opt/homebrew/opt/x265/bin:/opt/homebrew/opt/zeromq/bin:/opt/homebrew/opt/ffmpeg/bin:/opt/homebrew/opt/taglib/bin:/opt/homebrew/opt/chromaprint/bin:/opt/homebrew/opt/numpy/bin:/usr/bin:/bin:/usr/sbin:/sbin

Not sure what is the failure

Hi,

First of all, thank you so much for making this feature available.

I seriously have trouble understanding what are the causes that fail that installation on my laptop.

My apology, but I hope you could give me a hand if possible; the following info is what I can think of, hopefully its sufficient to help you reason out the potential issues. :

  1. Attempted to install on: MacOS Catalina Version 10.15.5.
  2. Using Python : 3.7.4 ; Conda Version : 4.9.2;
  3. The last few outputs are:

→ Building only Essentia's python bindings (libessentia should be pre-installed)
Checking for program 'pkg-config' : /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config
Checking for 'essentia' : yes
Checking for 'clang' (C compiler) : clang
Checking for program 'python' : /usr/local/opt/[email protected]/bin/python3.8
Checking for python version >= 2.7.0 : 3.8.6
→ Configuring for python3
python-config : /usr/local/opt/[email protected]/bin/python3.8-config
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration : yes
Checking for python module 'numpy' : not found
Could not find the python module 'numpy'
(complete log in /private/tmp/essentia-20201117-69375-15bs9yb/build/config.log)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/mtg/homebrew-essentia/issues

These open issues may also help:
essentia installs fine, but gaia fails #22
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels.

----- END -----

Regardless, thank you for time and effort in advance.

Cheers,
Bill

Installation failed

Hi, I'm reporting an installation failure on Mojave (v10.14.6) with Homebrew:

Homebrew 2.2.3
Homebrew/homebrew-core (git revision bc6bb6; last commit 2020-01-17)

And I ran into this error:

$ brew install essentia --HEAD
==> Installing essentia from mtg/essentia
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/sol/Library/Caches/Homebrew/essentia--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at ba79be6 Update year in MTG UPF copyright comments
Entering 'test/audio'
/Users/sol/Library/Caches/Homebrew/essentia--git/test/audio
==> ./waf configure --mode=release --with-examples --with-vamp --prefix=/usr/lo
==> ./waf
Last 15 lines from /Users/sol/Library/Logs/Homebrew/essentia/02.waf:
                           ^
/usr/local/Cellar/eigen/3.3.7/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h:450:28: note: candidate function not viable: no known conversion from 'vector<int>' to 'const DSizes<Eigen::Tensor<float, 4, 1, long>::Index, NumIndices>' (aka 'const DSizes<long, NumIndices>') for 1st argument
    EIGEN_DEVICE_FUNC void resize(const DSizes<Index, NumIndices>& dimensions) {
                           ^
/usr/local/Cellar/eigen/3.3.7/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h:479:10: note: candidate template ignored: could not match 'Sizes' against 'vector'
    void resize(const Sizes<Indices...>& dimensions) {
         ^
/usr/local/Cellar/eigen/3.3.7/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h:459:10: note: candidate function not viable: requires 0 arguments, but 1 was provided
    void resize()
         ^
1 error generated.

Waf: Leaving directory `/private/tmp/essentia-20200117-6080-3wau0z/build'
Build failed
 -> task in 'essentia' failed with exit status 1 (run with -v to display more information)

Failed installation with brew on Mac OS Mojave

(aspma) Alexander-MacBook-Pro:essentia Alexander$ brew install essentia --HEAD

==> Installing essentia from mtg/essentia
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/Alexander/Library/Caches/Homebrew/essentia--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 896a402 Merge pull request #924 from pabloEntropia/eigen3_support
Entering 'test/audio'
/Users/Alexander/Library/Caches/Homebrew/essentia--git/test/audio
==> ./waf configure --mode=release --with-examples --with-vamp --prefix=/usr/local/Cellar/essentia/HEAD-896a402
Last 15 lines from /Users/Alexander/Library/Logs/Homebrew/essentia/01.waf:
--with-examples
--with-vamp
--prefix=/usr/local/Cellar/essentia/HEAD-896a402

Setting top to                           : /private/tmp/essentia-20191207-67958-gwiv6y 
Setting out to                           : /private/tmp/essentia-20191207-67958-gwiv6y/build 
→ configuring the project in /private/tmp/essentia-20191207-67958-gwiv6y
→ Building in release mode
Checking for 'clang++' (C++ compiler)    : clang++ 
Checking for 'clang' (C compiler)        : clang 
→ Searching *.pc pkg-config files for dependencies in /usr/local/opt/libyaml/lib/pkgconfig:/usr/local/opt/isl/lib/pkgconfig:/usr/local/opt/mpfr/lib/pkgconfig:/usr/local/opt/hwloc/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/open-mpi/lib/pkgconfig:/usr/local/opt/fftw/lib/pkgconfig:/usr/local/opt/aom/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/frei0r/lib/pkgconfig:/usr/local/opt/libidn2/lib/pkgconfig:/usr/local/opt/libtasn1/lib/pkgconfig:/usr/local/opt/nettle/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/p11-kit/lib/pkgconfig:/usr/local/opt/unbound/lib/pkgconfig:/usr/local/opt/gnutls/lib/pkgconfig:/usr/local/opt/fribidi/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/glib/lib/pkgconfig:/usr/local/opt/lzo/lib/pkgconfig:/usr/local/opt/pixman/lib/pkgconfig:/usr/local/opt/cairo/lib/pkgconfig:/usr/local/opt/graphite2/lib/pkgconfig:/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/harfbuzz/lib/pkgconfig:/usr/local/opt/libass/lib/pkgconfig:/usr/local/opt/libbluray/lib/pkgconfig:/usr/local/opt/libsoxr/lib/pkgconfig:/usr/local/opt/libvidstab/lib/pkgconfig:/usr/local/opt/libogg/lib/pkgconfig:/usr/local/opt/libvorbis/lib/pkgconfig:/usr/local/opt/libvpx/lib/pkgconfig:/usr/local/opt/opencore-amr/lib/pkgconfig:/usr/local/opt/jpeg/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/little-cms2/lib/pkgconfig:/usr/local/opt/openjpeg/lib/pkgconfig:/usr/local/opt/opus/lib/pkgconfig:/usr/local/opt/rtmpdump/lib/pkgconfig:/usr/local/opt/flac/lib/pkgconfig:/usr/local/opt/libsndfile/lib/pkgconfig:/usr/local/opt/libsamplerate/lib/pkgconfig:/usr/local/opt/rubberband/lib/pkgconfig:/usr/local/opt/sdl2/lib/pkgconfig:/usr/local/opt/speex/lib/pkgconfig:/usr/local/opt/webp/lib/pkgconfig:/usr/local/opt/leptonica/lib/pkgconfig:/usr/local/opt/tesseract/lib/pkgconfig:/usr/local/opt/theora/lib/pkgconfig:/usr/local/opt/x264/lib/pkgconfig:/usr/local/opt/x265/lib/pkgconfig:/usr/local/opt/ffmpeg/lib/pkgconfig:/usr/local/opt/taglib/lib/pkgconfig:/usr/local/opt/chromaprint/lib/pkgconfig:/usr/local/opt/python@2/lib/pkgconfig:/usr/local/opt/openblas/lib/pkgconfig
Checking for program 'pkg-config'        : /usr/local/opt/pkg-config/bin/pkg-config 
Checking for 'eigen3'                    : not found 
The configuration failed
(complete log in /private/tmp/essentia-20191207-67958-gwiv6y/build/config.log)

cannot install essentia on MacOS M1

I have installed Python 3.9.6 and ffmpeg package and just run

brew tap MTG/essentia
brew install essentia --HEAD --with-tensorflow

I got something I can't understand.
What the problem?

🍺  /opt/homebrew/Cellar/numpy/1.24.2: 1,754 files, 37.4MB
==> Installing mtg/essentia/essentia --HEAD --with-tensorflow
==> /opt/homebrew/opt/[email protected]/bin/python3 waf configure --mode=release --with-examples --with-vamp --prefix=/opt/home
Last 15 lines from /Users/ufr/Library/Logs/Homebrew/essentia/01.python3:
2023-02-23 21:00:18 +0000

/opt/homebrew/opt/[email protected]/bin/python3
waf
configure
--mode=release
--with-examples
--with-vamp
--prefix=/opt/homebrew/Cellar/essentia/HEAD-179e786
--with-tensorflow


If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/mtg/homebrew-essentia/issues

These open issues may also help:
cannot install essentia on MacOs https://github.com/MTG/homebrew-essentia/issues/30
essentia installs fine, but gaia fails https://github.com/MTG/homebrew-essentia/issues/22
essentia's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.
Do not create issues about this on Homebrew's GitHub repositories.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

brew install: Error: Failed to download resource "essentia"

This seems to be that Issue #12 which was closed in 2018, needs to be reopened.

After installing the tap:

$ brew install essentia --HEAD
==> Downloading https://formulae.brew.sh/api/formula.jws.json

==> Downloading https://formulae.brew.sh/api/cask.jws.json

==> Fetching dependencies for mtg/essentia/essentia: gmp, mpfr, xz, gcc, hwloc, ca-certificates, openssl@3, pmix, open-mpi, fftw, fontconfig, frei0r, gettext, glib, harfbuzz, libvo-aacenc, libvpx, rtmpdump, sdl12-compat, x264, [email protected], taglib, jpeg-turbo, little-cms2, jpeg-xl, libvmaf, aom, dav1d, p11-kit, unbound, gnutls, cjson, libmicrohttpd, librist, libssh, openblas, numpy, pugixml, tbb, openvino, rav1e, mpg123, svt-av1, leptonica, libsodium, zeromq, ffmpeg, chromaprint, mpdecimal, readline, sqlite and [email protected]
==> Fetching gmp
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:78e4f40cba6419cf7e2d81e9c945d1e93744511bd5230bdfac1b69ed894914b4
################################################################################################################################# 100.0%
==> Fetching mpfr
==> Downloading https://ghcr.io/v2/homebrew/core/mpfr/manifests/4.2.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mpfr/blobs/sha256:71c4d6cc59a5bee30e0779b1d095c2e2db1cb63b51eac88d5d4191660e613d0c
################################################################################################################################# 100.0%
==> Fetching xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.4.5
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:ea718d075502d4457709da89e8e424aa22cfa19d2e16088c43feb87f7c2c477a
################################################################################################################################# 100.0%
==> Fetching gcc
==> Downloading https://ghcr.io/v2/homebrew/core/gcc/manifests/13.2.0-2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gcc/blobs/sha256:85037a5e7d463f55d9a0ff3963b24008c8a10937d137909bd6e91cf64ddfe8b6
################################################################################################################################# 100.0%
==> Fetching hwloc
==> Downloading https://ghcr.io/v2/homebrew/core/hwloc/manifests/2.10.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/hwloc/blobs/sha256:19cbbbca07f9a59c9616df503effac71e54c077b534d9326f4df8c9525c1a3c4
################################################################################################################################# 100.0%
==> Fetching ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2023-12-12
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:5c99ffd0861f01adc19cab495027024f7d890e42a9e7b689706b85c8e2
################################################################################################################################# 100.0%
==> Fetching openssl@3
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.2.0_1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:6519a6ff8e3e10f921ba8ec7ac00a67afc80e346f262115956b3c826541899f5
################################################################################################################################# 100.0%
==> Fetching pmix
==> Downloading https://ghcr.io/v2/homebrew/core/pmix/manifests/4.2.8
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pmix/blobs/sha256:f20b123e03855e606ec1cf6d25182f44813798152662523fcb2537544f204bd6
################################################################################################################################# 100.0%
==> Fetching open-mpi
==> Downloading https://ghcr.io/v2/homebrew/core/open-mpi/manifests/5.0.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/open-mpi/blobs/sha256:5b7047332a0bb6901d3214f49108707d7a014c2bb56158cbab2eec35a133384e
################################################################################################################################# 100.0%
==> Fetching fftw
==> Downloading https://ghcr.io/v2/homebrew/core/fftw/manifests/3.3.10_1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/fftw/blobs/sha256:0bb0537238a59cc4677738091ec67b65e7bd12fafe3072e091e20a1143232322
################################################################################################################################# 100.0%
==> Fetching fontconfig
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/manifests/2.15.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/blobs/sha256:4732e8c8cd6f940fa3ace12a5a5428baaef29bdccf9bc520fa4d37a1f0bf639
################################################################################################################################# 100.0%
==> Fetching frei0r
==> Downloading https://ghcr.io/v2/homebrew/core/frei0r/manifests/2.3.2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/frei0r/blobs/sha256:69b7048afec9dc74c1836c776ded9155ffb0b50bc202d8915495347ece001e00
################################################################################################################################# 100.0%
==> Fetching gettext
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.22.4
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:43d00547f4a1036a642c8a41650b483f0054cd239ab4b9ca171563067c8db264
################################################################################################################################# 100.0%
==> Fetching glib
==> Downloading https://ghcr.io/v2/homebrew/core/glib/manifests/2.78.3
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/glib/blobs/sha256:0508a3adb74773f5cc36db72a52b206250f58e3a63038b4d839912a672f705a3
################################################################################################################################# 100.0%
==> Fetching harfbuzz
==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/manifests/8.3.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/harfbuzz/blobs/sha256:b887133a87078eaa6e1ad50d0d429a981b756c1e43fc6c16fa49b10af31b382c
################################################################################################################################# 100.0%
==> Fetching libvo-aacenc
==> Downloading https://ghcr.io/v2/homebrew/core/libvo-aacenc/manifests/0.1.3
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libvo-aacenc/blobs/sha256:1e337ddc61248e2bba763f27de3fd1f3699a68e03fdf369e95ef39fd3dd5f
################################################################################################################################# 100.0%
==> Fetching libvpx
==> Downloading https://ghcr.io/v2/homebrew/core/libvpx/manifests/1.13.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libvpx/blobs/sha256:484698903af5db7c9b7d6b4e5791f702ae99a9167a0119773b30d1c9b34ffdba
################################################################################################################################# 100.0%
==> Fetching rtmpdump
==> Downloading https://ghcr.io/v2/homebrew/core/rtmpdump/manifests/2.4-20151223_3
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/rtmpdump/blobs/sha256:fc5748b95d47c39bb4d633090cc0a7b5fe90bda5ef163fa5b8809272c9bf4618
################################################################################################################################# 100.0%
==> Fetching sdl12-compat
==> Downloading https://ghcr.io/v2/homebrew/core/sdl12-compat/manifests/1.2.68
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sdl12-compat/blobs/sha256:4948b9d4e38766595d0c173458b97c00121834dd6b4161496a09fec4fc094
################################################################################################################################# 100.0%
==> Fetching x264
==> Downloading https://ghcr.io/v2/homebrew/core/x264/manifests/r3108
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/x264/blobs/sha256:19910a7d287524c93e7c56e30eca711618e0b568c0a9a4462924b76761840fd5
################################################################################################################################# 100.0%
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/2.8/manifests/2.8.22
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/2.8/blobs/sha256:00fe33dbef855097d0a45c4c154c0a96b582343a59456cedd13ace31cf7300a
################################################################################################################################# 100.0%
==> Fetching taglib
==> Downloading https://ghcr.io/v2/homebrew/core/taglib/manifests/1.13.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/taglib/blobs/sha256:5b79928275529b55ab078a708cbfb98e174f7e5b7d668bf86bccb0634f443f0f
################################################################################################################################# 100.0%
==> Fetching jpeg-turbo
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-turbo/manifests/3.0.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-turbo/blobs/sha256:89b1342d1dd69be94c1e293c8fc0ec5d324cd62f42bc8c3e9049bf5452957e0
################################################################################################################################# 100.0%
==> Fetching little-cms2
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/manifests/2.16
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/blobs/sha256:d1ed5796de3f00d4b1301e9062cb54b2337c8e8dcf2ae9be8e03f3ed7af791
################################################################################################################################# 100.0%
==> Fetching jpeg-xl
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-xl/manifests/0.9.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/jpeg-xl/blobs/sha256:9717b3a20f72b2c9338ecba113f827bd692651bec59579c8073d7e682089b251
################################################################################################################################# 100.0%
==> Fetching libvmaf
==> Downloading https://ghcr.io/v2/homebrew/core/libvmaf/manifests/3.0.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libvmaf/blobs/sha256:bdc90ebc175c1f071be4ce895051586583177c3b1029817dc1078472a3da8261
################################################################################################################################# 100.0%
==> Fetching aom
==> Downloading https://ghcr.io/v2/homebrew/core/aom/manifests/3.8.0_2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/aom/blobs/sha256:4f1ffd5a5e4f7ca84f5e59a8cbd85320f963a6d2cfcda375163e854c8b202a80
################################################################################################################################# 100.0%
==> Fetching dav1d
==> Downloading https://ghcr.io/v2/homebrew/core/dav1d/manifests/1.3.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/dav1d/blobs/sha256:990a082678f9dd0715c26d7fe77a893fbf926e5905bc79bc94062724431bfaaf
################################################################################################################################# 100.0%
==> Fetching p11-kit
==> Downloading https://ghcr.io/v2/homebrew/core/p11-kit/manifests/0.25.3
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/p11-kit/blobs/sha256:cd5ef135c54d2a312c17af15e9f3c807b3b37a65388b64a35a4d215b54745789
################################################################################################################################# 100.0%
==> Fetching unbound
==> Downloading https://ghcr.io/v2/homebrew/core/unbound/manifests/1.19.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/unbound/blobs/sha256:8af0f486394c4535e394f3c5f6c32f59bb290d469270f2f71ac4bb1c0732bb19
################################################################################################################################# 100.0%
==> Fetching gnutls
==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/manifests/3.8.2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/gnutls/blobs/sha256:3e685ee9d72100553637eb11933f0b5d19497ced063cf80cfa490a6b74da6009
################################################################################################################################# 100.0%
==> Fetching cjson
==> Downloading https://ghcr.io/v2/homebrew/core/cjson/manifests/1.7.17
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/cjson/blobs/sha256:b78dd2e9c8ca113352bb0b7e6defbdc13347f3ea865ff5d36c86fabef29d7e44
################################################################################################################################# 100.0%
==> Fetching libmicrohttpd
==> Downloading https://ghcr.io/v2/homebrew/core/libmicrohttpd/manifests/0.9.77
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libmicrohttpd/blobs/sha256:f6588a99dc2a09ab36702a8509dd61b157326311711436e2afe1e6744835
################################################################################################################################# 100.0%
==> Fetching librist
==> Downloading https://ghcr.io/v2/homebrew/core/librist/manifests/0.2.10
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/librist/blobs/sha256:a137368d63a4112828b2f8536e8ac419e5cc1fea7d829160366c0be7fee4d269
################################################################################################################################# 100.0%
==> Fetching libssh
==> Downloading https://ghcr.io/v2/homebrew/core/libssh/manifests/0.10.6
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libssh/blobs/sha256:f46550586eea1bbce8a418c9ce7621909aaad4b96d98004289ea12ccd4593201
################################################################################################################################# 100.0%
==> Fetching openblas
==> Downloading https://ghcr.io/v2/homebrew/core/openblas/manifests/0.3.25
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openblas/blobs/sha256:f9d7d6c1d67eb4a2eabda9f3b3737539f33fed18ab3e45bc229c16b7aa69fcd5
################################################################################################################################# 100.0%
==> Fetching numpy
==> Downloading https://ghcr.io/v2/homebrew/core/numpy/manifests/1.26.3-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/numpy/blobs/sha256:7bf09cac32c033c6fa63bbb48ae01311acb68699911cdbf60cc092d02b492fb6
################################################################################################################################# 100.0%
==> Fetching pugixml
==> Downloading https://ghcr.io/v2/homebrew/core/pugixml/manifests/1.14
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pugixml/blobs/sha256:84389a39deb0147cc58ace55574299b2bc0099a405c637aa19d8dd4c511527f8
################################################################################################################################# 100.0%
==> Fetching tbb
==> Downloading https://ghcr.io/v2/homebrew/core/tbb/manifests/2021.11.0-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/tbb/blobs/sha256:c24bd15b42e0ae13e2cb12ac655a48719925625160e881ebe3f7106abe3c080d
################################################################################################################################# 100.0%
==> Fetching openvino
==> Downloading https://ghcr.io/v2/homebrew/core/openvino/manifests/2023.2.0-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openvino/blobs/sha256:dbaa768c272a0934254ebbf863e6c63ade5141d3717727f4b88bc3a915a57b99
################################################################################################################################# 100.0%
==> Fetching rav1e
==> Downloading https://ghcr.io/v2/homebrew/core/rav1e/manifests/0.7.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/rav1e/blobs/sha256:03c3c20f83de1fca64b0e0c67e8eb583a334f30769c047304a6627fcec76c765
################################################################################################################################# 100.0%
==> Fetching mpg123
==> Downloading https://ghcr.io/v2/homebrew/core/mpg123/manifests/1.32.4
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mpg123/blobs/sha256:83a4a74bafbcafd98194c3a8ff082f8bbf84cee437cb94415d2b5a4939b1e0c2
################################################################################################################################# 100.0%
==> Fetching svt-av1
==> Downloading https://ghcr.io/v2/homebrew/core/svt-av1/manifests/1.8.0-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/svt-av1/blobs/sha256:34144067a65c826588409a61e6385328078b233b4af39168c6d8bae7cd1fb34b
################################################################################################################################# 100.0%
==> Fetching leptonica
==> Downloading https://ghcr.io/v2/homebrew/core/leptonica/manifests/1.84.1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/leptonica/blobs/sha256:67fe34fb9fbd1191142dc8415dc1c3bacc7a8cb427dc3d769f6c5d8b1351cbe7
################################################################################################################################# 100.0%
==> Fetching libsodium
==> Downloading https://ghcr.io/v2/homebrew/core/libsodium/manifests/1.0.19
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libsodium/blobs/sha256:dc3c442e29cd2c031179003f04ee2dea388edc68b0f284d6b938f38e2ca49efc
################################################################################################################################# 100.0%
==> Fetching zeromq
==> Downloading https://ghcr.io/v2/homebrew/core/zeromq/manifests/4.3.5_1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/zeromq/blobs/sha256:3bf8942ece99f0457125006cf729f24823e09a3f6bd2257e8be9873e5783a0a1
################################################################################################################################# 100.0%
==> Fetching ffmpeg
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/manifests/6.1.1_2-2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/blobs/sha256:9b2ed5cfe70f7e8a6683707f3615e03ab78c790b810ae1b2bf9c861f972723aa
################################################################################################################################# 100.0%
==> Fetching chromaprint
==> Downloading https://ghcr.io/v2/homebrew/core/chromaprint/manifests/1.5.1_1-1
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/chromaprint/blobs/sha256:aa386d4b1b6e459cbc3278df211e69afc968335b0fa47879376ded5f1d3196
################################################################################################################################# 100.0%
==> Fetching mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/blobs/sha256:e13217b5255c026d0a0c7bbe911e3a5d380dba2c7301e50d3cff3eca4cb74e17
################################################################################################################################# 100.0%
==> Fetching readline
==> Downloading https://ghcr.io/v2/homebrew/core/readline/manifests/8.2.7
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/readline/blobs/sha256:4b08134e70e90a968bf82227fbec6861b07fdf630e7ab66e6effe95b6721cf36
################################################################################################################################# 100.0%
==> Fetching sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.45.0
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:0257a189a2b5609bb8d2dfecfe23174e868a9b1c65bd621ffdfb24483821b6df
################################################################################################################################# 100.0%
==> Fetching [email protected]
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.9/manifests/3.9.18_2
################################################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.9/blobs/sha256:adbbe4d4fd80b70e40cb7a233d2d5f5dda88bdc274deb153fc25b669c1d0e5f
################################################################################################################################# 100.0%
==> Fetching mtg/essentia/essentia
==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.ta
################################################################################################################################# 100.0%
==> Cloning https://github.com/MTG/essentia.git
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'
Error: essentia: Failed to download resource "essentia"
Failure while executing; `/usr/bin/env git submodule update --init --recursive` exited with 128. Here's the output:
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'


Add -no-msse flag for Apple Silicon

The current formula almost installs fine on Apple Silicon, but the -no-msse flag is necessary for WAF, both in build_flags and in python_flags.

I’m not experienced enough with writing Homebrew formulae to know how add a flag conditional on the architecture, but as a workaround in the meantime, Essentia will build just fine on an M1 Mac if you add this flag manually in those two places.

Failed to download resource "essentia" on Mac OS X

Hello,
I tried installing essentia using homebrew but failed. This is the error i got:

==> Installing essentia from mtg/essentia
==> Downloading https://homebrew.bintray.com/bottles-essentia/essentia-2.1_beta3

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "essentia"
Download failed: https://homebrew.bintray.com/bottles-essentia/essentia-2.1_beta3.yosemite.bottle.tar.gz
Warning: Bottle installation failed: building from source.

After this part i got the same error with Issue #11

==> Downloading https://github.com/MTG/essentia/archive/v2.1_beta3.tar.gz
Already downloaded: /Users/dominique/Library/Caches/Homebrew/downloads/370f9a6d8d63de6bb80c605fdbdceb5ad2723a7d568a1255660741cb27514697--essentia-2.1_beta3.tar.gz
==> ./waf configure --mode=release --with-python --with-vamp --with-examples --p
==> ./waf
Last 15 lines from /Users/dominique/Library/Logs/Homebrew/essentia/02.waf:
../src/algorithms/standard/constantq.cpp:104:58: error: implicit conversion from '_Complex double' to 'double' is not permitted in C++
  vector<complex<double> > hammingWindow(_FFTLength, 0.0 + 0.0j);
                                                     ~~~~^~~~~~
../src/algorithms/standard/constantq.cpp:105:63: error: implicit conversion from '_Complex double' to 'float' is not permitted in C++
  vector<complex<Real> > transfHammingWindowR(_FFTLength, 0.0 + 0.0j);
                                                          ~~~~^~~~~~
../src/algorithms/standard/constantq.cpp:120:42: error: implicit conversion from '_Complex double' to 'double' is not permitted in C++
    hammingWindow.assign(_FFTLength, 0.0 + 0.0j);
                                     ~~~~^~~~~~
4 errors generated.
Waf: Leaving directory `/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build'
Build failed
 -> task in 'essentia' failed (exit status 1): 
	{task 4588034064: cxx constantq.cpp -> constantq.cpp.1.o}
['clang++', '-pipe', '-Wall', '-msse', '-msse2', '-mfpmath=sse', '-O2', '-fPIC', '-w', '-fPIC', '-compatibility_version', '1', '-current_version', '1', '-fPIC', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia/scheduler', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia/scheduler', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia/streaming', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia/streaming', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia/streaming/algorithms', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia/streaming/algorithms', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/essentia/utils', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/essentia/utils', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/3rdparty', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/3rdparty', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/3rdparty/spline', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/3rdparty/spline', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/build/src/3rdparty/vamp-plugin-sdk-2.4', '-I/private/tmp/essentia-20181113-77945-1y1rd2b/essentia-2.1_beta3/src/3rdparty/vamp-plugin-sdk-2.4', '-I/usr/local/Cellar/fftw/3.3.8/include', '-I/usr/local/Cellar/ffmpeg/4.1/include', '-I/usr/local/Cellar/libsamplerate/0.1.9/include', '-I/usr/local/Cellar/taglib/1.11.1/include/taglib', '-I/usr/local/Cellar/libyaml/0.2.1/include', '-DGTEST_HAS_TR1_TUPLE=0', '-DHAVE_AVCODEC=1', '-DHAVE_AVFORMAT=1', '-DHAVE_AVUTIL=1', '-DHAVE_AVRESAMPLE=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_TAGLIB=1', '-DHAVE_YAML=1', '-DHAVE_FFTW=1', '-D__STDC_CONSTANT_MACROS', '-DPYTHONDIR="/usr/local/Cellar/essentia/2.1_beta3/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/local/Cellar/essentia/2.1_beta3/lib/python2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../src/algorithms/standard/constantq.cpp', '-c', '-o', 'src/algorithms/standard/constantq.cpp.1.o']

Proper installation but not pyton

I just followed the instructions on how to install essentia on MAC with homebrew. It seems properly installed but I tried to used
import essentia
on python and the module is not founded.
Wondering if I need to do another step.
Cheers

essentia installs fine, but gaia fails

No matter I run brew install gaia --HEAD or brew install essentia --HEAD --with-gaia, I get the following error:

==> python2 -c import setuptools... --no-user-cfg install --prefix=/private/tmp/gaia--homebrew-virtualenv-20200404-13
==> python2 -s /private/tmp/gaia--homebrew-virtualenv-20200404-13972-1k2ggub/target/bin/virtualenv -p python2 /usr/lo
Last 15 lines from /Users/r3a1d3a1/Library/Logs/Homebrew/gaia/02.python2:
  File "/private/tmp/gaia--homebrew-virtualenv-20200404-13972-1k2ggub/target/lib/python2.7/site-packages/virtualenv.py", line 1019, in install_wheel
    _install_wheel_with_search_dir(download, project_names, py_executable, search_dirs)
  File "/private/tmp/gaia--homebrew-virtualenv-20200404-13972-1k2ggub/target/lib/python2.7/site-packages/virtualenv.py", line 1046, in _install_wheel_with_search_dir
    config = _pip_config(py_executable, python_path)
  File "/private/tmp/gaia--homebrew-virtualenv-20200404-13972-1k2ggub/target/lib/python2.7/site-packages/virtualenv.py", line 1128, in _pip_config
    config[key] = ast.literal_eval(value)
  File "/usr/local/Cellar/python@2/2.7.15_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 49, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "/usr/local/Cellar/python@2/2.7.15_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 1
    __get_hash(__func_name)
    ^
IndentationError: unexpected indent
Running virtualenv with interpreter /usr/local/opt/python@2/bin/python2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/mtg/homebrew-essentia/issues

cannot install essentia on MacOs

I am using macos11.6 . when I simply do 'pip install', it report error as 'cannot build wheel for essentia'. And when I turn to homebrew, when I do 'brew tap MTG/essentia' it failed with 'fatal: Authentication failed for https//:github.com/MTG/hombrew-essentia/'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.