Code Monkey home page Code Monkey logo

Comments (6)

justinsalamon avatar justinsalamon commented on May 23, 2024

Did you install the dependencies as instructed in the documentation?

brew install libyaml fftw ffmpeg libsamplerate libtag

from essentia.

yyf avatar yyf commented on May 23, 2024

I have macports and was having issue running it via brew. I manually installed taglib and yaml via macport and luckily got essentia compiled. But now I'm having trouble importing essentia in python, should i close this issue and post the following in a new post?

Traceback (most recent call last):
File "", line 1, in
ImportError: No module named essentia

from essentia.

yyf avatar yyf commented on May 23, 2024

in addition to the unit test examples, is there other python examples using essentia? thanks

from essentia.

justinsalamon avatar justinsalamon commented on May 23, 2024

that means python is not finding essentia, did you (as instructed in the documentation) run

./waf install

?
If you have, you should check to see if essentia is in your python path and if not then add it.
There's a python tutorial here: http://essentia.upf.edu/documentation/python_tutorial.html

Again, I'd recommend going through the documentation. Closing this issue as the original problem was solved. If the problem persists please open a separate issue.

from essentia.

yyf avatar yyf commented on May 23, 2024

Thanks. I did went through all the installation instructions.
./waf run_tests is okay
but ./waf run_python_tests showed the same thing:

Traceback (most recent call last):
File "test/src/unittest/all_tests.py", line 27, in
import essentia
ImportError: No module named essentia
'run_python_tests' finished successfully (0.270s)

I tried to add essentia to my python path by
export PYTHONPATH=$PYTHONPATH:/<path_to_essentia_modules>
but it didn't solve the issue, any other pointer?

from essentia.

dbogdanov avatar dbogdanov commented on May 23, 2024

The simplest test would be to run from python:
import essentia
If it works, python tests should work as well.

from essentia.

Related Issues (20)

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.