MTG / homebrew-essentia

Homebrew build scripts for Essentia
34 stars 13 forks source link

Installation failed #21

Closed solleo closed 4 years ago

solleo commented 4 years ago

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
basharovV commented 4 years ago

@solleo I already opened #20, can you close this one?

CarltonS13 commented 4 years ago

So I had this problem and I fixed it by running "brew doctor" in the terminal, which told me to fix my path and link numpy.