aubio

Install aubio with pip

Updated (2016-12-29)

aubio is now available on pypi, so you should be able to simply run:

$ pip install aubio

The command below is still valid to install from the latest git head.

You can now install aubio's python module using pip:

$ pip install git+git://git.aubio.org/git/aubio

This should work for Python 2.x and Python 3.x, on Linux, Mac, and Windows. Pypy support is on its way.

Sun, 22 May 2016, 15:00. trackback - view/add comments

Responses to this post

OK, so I'm having some problems with this on Windows, this may be because(as you will probably see) I'm no python expert. I cant run pip from the command line I have to run it from python so I enter this (which works for pip packages normally):

> python -m pip install git git://git/aubio.org/git/aubio

and I get this back in the pip.log:

C:\Python27\lib\site-packages\pip\_main_.py run on 07/18/16 11:26:25
Downloading/unpacking git git://git.aubio.org/git/aubio
  Cloning git://git.aubio.org/git/aubio to c:\users\lparker\appdata\local\temp\pip-5w_ed1-build
Cleaning up...
Cannot find command 'git'
Exception information:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
  status = self.run(options, args)
  File "C:\Python27\lib\site-packages\pip\commands\install.py", line 278, in run
  requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "C:\Python27\lib\site-packages\pip\req.py", line 1197, in prepare_files
  do_download,
  File "C:\Python27\lib\site-packages\pip\req.py", line 1360, in unpack_url
  unpack_vcs_link(link, loc, only_download)
  File "C:\Python27\lib\site-packages\pip\download.py", line 344, in unpack_vcs_link
  vcs_backend.unpack(location)
  File "C:\Python27\lib\site-packages\pip\vcs\_init_.py", line 240, in unpack
  self.obtain(location)
  File "C:\Python27\lib\site-packages\pip\vcs\git.py", line 111, in obtain
  call_subprocess([self.cmd, 'clone', '-q', url, dest])
  File "C:\Python27\lib\site-packages\pip\vcs\_init_.py", line 110, in cmd
  command = find_command(self.name)
  File "C:\Python27\lib\site-packages\pip\util.py", line 109, in find_command
  raise BadCommand('Cannot find command %r' % cmd)
BadCommand: Cannot find command 'git'

Posted by Lindon at Mon Jul 18 12:34:21 2016

Hi Lindon,

Thanks for your bug report (https://github.com/aubio/aubio/issues/65). To compile and install python-aubio on Windows, you will need to have git and VS 2008 installed.

Let us know how it goes,

Best, Paul

Posted by Paul at Mon Jul 18 17:32:23 2016

Leave your own comment

  Name (required)

  E-mail (not published)

  Website

© 2003-2017 the aubio team | cc-by-sa