[aubio-user] Using aubio 0.4.0 from python (windows)
Paul Brossier
piem at piem.org
Thu Jan 9 14:25:02 CET 2014
On 08/01/2014 13:38, Aymeric Voxler wrote:
> Hi Paul
Hi all,
> It seems that Gauthier Boaglio
> <http://stackoverflow.com/users/1715716/gauthier-boaglio>'s answer
> here
> http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc
> allows to use gcc for "python setup.py build"
ok, that seems to be a problem in your python installation.
> However then the tests cannot find "aubio" module, so I'm not sure it
> built correctly, or which aubio file I should use...
you need to install the module, or add the directory python/build/lib.*/
to your PYTHONPATH environment variable (see python/README).
> My "python/build/lib.win32-2.7" folder contains 3 files: __init__.py
> , _aubio.pyd , and midiconv.py Is that correct ?
yes, this looks correct (assuming these files are in a directory called
'aubio'). here is what i get on macosx for instance:
$ find build/lib.macosx-10.6-intel-2.7/aubio
build/lib.macosx-10.6-intel-2.7/aubio
build/lib.macosx-10.6-intel-2.7/aubio/__init__.py
build/lib.macosx-10.6-intel-2.7/aubio/_aubio.so
build/lib.macosx-10.6-intel-2.7/aubio/midiconv.py
python extensions should have the .pyd suffix on windows.
cheers, Paul
More information about the aubio-user
mailing list