Where is the echonest module (not the pyechonest module)

145 views
Skip to first unread message

shane

unread,
Jun 21, 2011, 7:23:25 PM6/21/11
to The Echo Nest Remix API
Hi -

I followed the installation directions for OS X but am obviously
missing something very straightforward. I can import and call
functions in the 'pyechonest' module, but not the 'echonest' module.
For instance:

-----
In [1]: from pyechonest import config
In [3]: config.ECHO_NEST_API_KEY=<omitted>
In [4]: from pyechonest import artist

# That goes fine. But this doesn't:


In [5]: import echonest.audio as audio
---------------------------------------------------------------------------
ImportError Traceback (most recent call
last)
/Users/nugent/<ipython console> in <module>()
ImportError: No module named echonest.audio
-----

Nor can I do anything else that requires importing echonest.anything.
So I went digging around in the site-packages/ directory; the python
egg for pythonest is in there (pyechonest-4.2.13-py2.6.egg) but I
can't find anything else; and apparently this one isn't enough. Can
someone help?

Thanks very much,

Shane

M1Reeder

unread,
Aug 10, 2011, 1:17:48 AM8/10/11
to The Echo Nest Remix API
BUMP

ray sweeten

unread,
Aug 9, 2011, 3:14:08 PM8/9/11
to The Echo Nest Remix API
I'm having the same issue. I'm running OSX 10.7 (I know, that's what I
get). I tried the .dmg file, and it said the install way successful,
but when I tried to import echonest.audio I get the same error as
Shane. Incidentally, the dmg installer DID install the examples at /
usr/local/share/echo-nest-remix-examples.

So then I tried installing if from the source files and I got this
error:

external/pysoundtouch14/libsoundtouch/FIFOSampleBuffer.cpp:50:21:
external/pysoundtouch14/libsoundtouch/FIFOSampleBuffer.cpp:50:21:
error: stdexcept: No such file or directoryerror:
stdexcept: No such file or directory
external/pysoundtouch14/libsoundtouch/FIFOSampleBuffer.cpp: In member
function ‘void soundtouch::FIFOSampleBuffer::ensureCapacity(uint)’:
external/pysoundtouch14/libsoundtouch/FIFOSampleBuffer.cpp:176: error:
‘runtime_error’ is not a member of ‘std’external/pysoundtouch14/
libsoundtouch/FIFOSampleBuffer.cpp: In member function ‘void
soundtouch::FIFOSampleBuffer::ensureCapacity(uint)’:
external/pysoundtouch14/libsoundtouch/FIFOSampleBuffer.cpp:176: error:
‘runtime_error’ is not a member of ‘std’

lipo: can't figure out the architecture type of: /var/folders/9q/
p_tfg_zj3b14ct4td8fkp9t80000gp/T//ccCWc5Dr.out
error: command 'gcc-4.0' failed with exit status 1

I suspect this is an architecture issue, but I don't know enough to
fix it.

Ray

ray sweeten

unread,
Aug 9, 2011, 4:19:11 PM8/9/11
to The Echo Nest Remix API
I'm having the same problem, I'm on OSX10.7 (Lion, oops)

I think the externals are failing to build b/c of architecture
incompatibilities..

$ python cAction/setup.py install
running install
running build
running build_ext
building 'cAction' extension
creating build/temp.macosx-10.3-intel-2.6
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -
arch i386 -arch x86_64 -I/Library/Frameworks/Python.framework/Versions/
2.6/lib/python2.6/site-packages/numpy/core/include -I/Library/
Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/
numpy/numarray/include -I/Library/Frameworks/Python.framework/Versions/
2.6/include/python2.6 -c actionmodule.cpp -o build/temp.macosx-10.3-
intel-2.6/actionmodule.o
i686-apple-darwin10-gcc-4.0.1: actionmodule.cpp: No such file or
directory
i686-apple-darwin10-gcc-4.0.1: actionmodule.cpp: No such file or
directory
i686-apple-darwin10-gcc-4.0.1: no input files
i686-apple-darwin10-gcc-4.0.1: no input files
lipo: can't figure out the architecture type of: /var/folders/9q/
p_tfg_zj3b14ct4td8fkp9t80000gp/T//cc7xMXZD.out
error: command 'gcc-4.0' failed with exit status 1

Anyone have any ideas?

Ray
Reply all
Reply to author
Forward
0 new messages