You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/sphinxdoc/installing.rst
+13-4
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Note that packages location for Python installed via Homebrew is different from
12
12
13
13
export PATH=/usr/local/bin:/usr/local/sbin:$PATH
14
14
15
-
at the bottom of your ``~/.bash_profile`` file. More information about using Python and Homebrew is `here <https://github.com/Homebrew/brew/blob/master/docs/Homebrew-and-Python.md>`_.
15
+
at the bottom of your ``~/.bash_profile`` file. More information about using Python and Homebrew is `here <https://docs.brew.sh/Homebrew-and-Python>`_.
16
16
17
17
18
18
Linux
@@ -57,14 +57,15 @@ You can install those dependencies on a Debian/Ubuntu system from official repos
In order to use python bindings for the library, you might also need to install python-dev, python-numpy-dev (or python-numpy on Ubuntu) and python-yaml for YAML support in python::
60
+
In order to use Python 2 bindings for the library, you might also need to install python-dev, python-numpy-dev (or python-numpy on Ubuntu) and python-yaml for YAML support in python::
On Ubuntu/Debian, make sure that ``/usr/local/lib/python3/dist-packages/`` path is included in the list of Python 3 `module search paths <https://docs.python.org/3/tutorial/modules.html#the-module-search-path>`_. If it is not included by default, you can configure it in the PYTHONPATH variable.
68
69
69
70
Note that, depending on the version of Essentia, different versions of libav* and libtag1-dev packages are required. See `release notes for official releases <https://github.com/MTG/essentia/releases>`_.
70
71
@@ -138,12 +139,20 @@ To install the C++ library, python bindings, extractors and Vamp plugin (if conf
138
139
139
140
Compiling for Python3
140
141
---------------------
141
-
The waf build scripts are python scripts themselves. They will configure Essentia to be used with the same Python that was used to execute them. In the case if your default python is not Python3, you will need to run all waf commands with python3::
142
+
The waf build script is a python script itself. By default it will configure Essentia to be built for the same Python that was used to execute this script. Alternatively, you can specify a specific Python binary to build for using the ``--python=PYTHON`` configuration option.
143
+
144
+
Therefore, to build for Python3, you can either run all waf commands with your python3::
0 commit comments