[aubio-user] Using aubio 0.4.0 from python (windows)
Aymeric Voxler
aymeric.voxler at gmail.com
Fri Jan 10 11:55:19 CET 2014
Thanks a lot
Slowly reaching the goal: I can now find the aubio module by adding
"sys.path.append('C:\\aubio-git\\python\\build\\lib.win32-2.7')".
Now I get the error "cannot import name fft" in "from aubio import fvec,
fft, cvec"
so it can import fvec, but not fft (nor cvec, pitch,...)
Do you have any idea on this ?
Note: I don't know exactly how to deal with LD_LIBRARY_PATH on windows, so
I tried to copy "build/src/libaubio-4.dll" in all folders and add it in
Windows PATH, but nothing improved...
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Aymeric ZILS - Audio Research
Phone: (+33)1-75-430-451
VOXLER
8 passage Brûlon, bât A, 3ème étage
75012 Paris
http://www.voxler.fr
Phone: (+33)1-4704-0041
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this email in error)
please notify the sender immediately and destroy this email. Any
unauthorised copying, disclosure or distribution of the material in this
email is strictly forbidden.
2014/1/9 Paul Brossier <piem at piem.org>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aubio.org/pipermail/aubio-user/attachments/20140110/f0c82f7c/attachment-0001.html>
More information about the aubio-user
mailing list