Skip to content
Sebastian Böck edited this page Sep 18, 2017 · 8 revisions

Right now this is a loose collection of some Q&A:

Q: I get an ImportError: cannot import name BarStateSpace
A: Most probably you have an old compiled version of the beats_hmm module around. Delete all beats_hmm.* files except beats_hmm.py.

Q: I get another ImportError
A: Set your PYTHONPATH and export it, e.g. export PYTHONPATH=/path/to/madmom/.

Q: Why does it crash on Mac OS X?
A: You most probably have numpy and scipy linked against the Accelerate Framework. Rebuild these modules to be linked against ATLAS to gain multi-threaded support.

Q: I get out of bounds errors, tests fails or other weird errors
A: Make sure that you have recent numpy, scipy and cython versions installed and that your compiled modules are up to date. Update them with pip install --upgrade numpy scipy cython and python setup.py build_ext --inplace.

Q: I get UnicodeDecodeError: 'ascii' codec can't decode byte 0x... during installation
A: Try setting your locale to a suitable values, e.g. export LC_ALL=en_US.UTF-8.

Q: I get weird errors on Windows in single mode
A: Try disabling multiprocessing altogether by passing -j 1 on the command line or setting num_threads=1 otherwise.

Clone this wiki locally