tuffy / python-audio-tools

A collection of audio handling programs which work from the command line.
http://audiotools.sourceforge.net
GNU General Public License v2.0
249 stars 58 forks source link

ImportError: cannot import name WavPackDecoder #66

Open aplsms opened 8 years ago

aplsms commented 8 years ago

I've install audiotools on the MacOs. Darwin gamma.apl 14.5.0 Darwin Kernel Version 14.5.0: Thu Apr 21 20:40:54 PDT 2016; root:xnu-2782.50.3~1/RELEASE_X86_64 x86_64 (Yosemite)

and got error with .wv file:

$ tracksplit --cue May\ 1968.cue May\ 1968.wv -t flac -q 1 -j 4
Traceback (most recent call last):
  File "/usr/local/bin/tracksplit", line 529, in <module>
    queue.run(options.max_processes))
  File "/usr/local/lib/python2.7/site-packages/audiotools/__init__.py", line 5493, in run
    return self.__run_parallel__(max_processes=max_processes)
  File "/usr/local/lib/python2.7/site-packages/audiotools/__init__.py", line 5681, in __run_parallel__
    raise self.__raised_exception__
ImportError: cannot import name WavPackDecoder

how can i solve it?

willtang commented 7 years ago

The error is that WavPack library couldn't be found in the system during audiotools setup. You could use Homebrew to install the library like that: brew install wavpack.

Afterward just build and setup audiotools again and Voila!