To build an Essentia-processing based collectin activate python3 source ./gs3-setup.bash cd .../collect/amc-essentia ./IMPORT.pl -maxdocs 2 ./BUILDCOL.pl ./ACTIVATE.ps # Pick which version of Python you want to work with (v2 or v3) source ./darwin/virtualenv-python2/bin/activate source ./darwin/virtualenv-python3/bin/activate # To run essentia python tests need to have install sklearn pip install sklearn # Then can run cd packages/essentia-full-git python ./waf run_python_tests # To build with Greenstone, need to teach virtualenv-python where Essensia was installed, # e.g. export PYTHONPATH=$GEXT_MARS_INSTALLED/lib/python2.7/site-packages export PYTHONPATH=$GEXT_MARS_INSTALLED/lib/python3.7/site-packages # On Macrocarpa, the follow compiles up with python2 cd src/essentia ./waf configure --with-examples --with-python --prefix=/tmp/essentia ./waf ./waf install