MTG / homebrew-essentia

Homebrew build scripts for Essentia
34 stars 13 forks source link

Essentia does not install correctly on MAC OSX #8

Closed alykartsis closed 5 years ago

alykartsis commented 6 years ago

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

dbogdanov commented 6 years ago

Does brew install essentia --HEAD works?

aez-lab commented 6 years ago

have the same issue. I also tried both brew install essential --HEAD and Compiling Essentia via http://essentia.upf.edu/documentation/installing.html#installing-dependencies-on-mac-os-x none of them work!! @dbogdanov

SimonZimmer commented 5 years ago

same issue here, I can't install essentia with the pycharm package manager either Any news on the issue?

dbogdanov commented 5 years ago

This will be fixed once we get python wheels for MacOS.

dbogdanov commented 5 years ago

Meanwhile, there was an update in the brew formula, please test again.

SimonZimmer commented 5 years ago

Thanks for getting back! Installing from HEAD works for me now

I also found a workaround for pycharm: