Skip to content

1. Installation

username116 edited this page Aug 25, 2024 · 13 revisions

To use Essentia with Python, with Tensorflow, on Windows:

  • Download and install Python, with default settings

  • Download this file: https://nuage.numericloud.eu/s/A5KZSM88eyAxwnB

  • Optionally, create a virtual environment in the folder of your choice (see below)

  • Open Windows PowerShell and enter this command. Replace with the exact path on your computer

    py -m pip install path\to\essentia-2.1b6.dev0-cp312-cp312-win_amd64.whl
    
  • This wheel file does not work with the recent release of NumPy 2, install the old version

    py -m pip uninstall numpy
    
    py -m pip install numpy==1.26.4
    
  • It's done





Create a virtual environment?

You can create it like this:

Open PowerShell in the working folder of your choice.

py -m venv essentia-test
.\essentia-test\Scripts\activate
pip install path\to\wheel.whl

It's shown here in step E. Or here. You can find more information on this subject on this page.
I made a virtual environment the first time, it worked. Then I installed the package globally (i.e. without a virtual environment), and so far it's working well.


I built this wheel file a few months ago following this recipe. With this file, you are at step E. There are logs to show that all tests have passed.

There's also another, more recent version of this python wheel, but Tensorflow is not inside. I tried it, but couldn't get it to work. Look here and here.

I tried with Python 3.11 and 3.12.5, and so far it's working for me.

Clone this wiki locally