Skip to content

ImportError: cannot import name '_essentia' from 'essentia' #979

Open
@camillenoufi

Description

@camillenoufi

Hello! I've circulated around many of the existing questions/solutions pertaining to import, but still no luck:

/usr/local/lib/python3.8/site-packages/essentia/init.py in
----> 1 from . import _essentia
2 import sys as _sys
3 from ._essentia import reset
4 from .common import Pool, array, ones, zeros
5 from .progress import Progress

ImportError: cannot import name '_essentia' from 'essentia' (/usr/local/lib/python3.8/site-packages/essentia/init.py)

I recently installed Essentia via homebrew on to OSX Catalina 10.15.3 with Python 3.8 via:

$ brew tap MTG/essentia
$ brew install essentia --HEAD

It installed to '/usr/local/lib/python3.8/site-packages/essentia/' and I've added:

export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3.6/site-packages

as well as

export PATH=/usr/local/bin:/usr/local/sbin:$PATH

to my ~/.bash-profile, the latter per the Essentia documentation instructions. I get the same errors in a normal python3 environment as well as in an iPython/jupyter environment. I've also tried the sys.path.append(.) route. I am working within a conda environment.

Any tips? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions