tyiannak / pyAudioAnalysis

Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications
Apache License 2.0
5.88k stars 1.2k forks source link

Dependency from pathlib #84

Open ggianna opened 7 years ago

ggianna commented 7 years ago

In the dependenciesm, it appears you need to also add pathlib (pip install pathlib). Please confirm. Thanks, George G.

gannebamm commented 7 years ago

I can confirm this python audioAnalysis.py fileSpectrogram -i data/doremi.wav Traceback (most recent call last): File "audioAnalysis.py", line 15, in <module> import audioFeatureExtraction as aF File "/home/pi/pyAudioAnalysis/audioFeatureExtraction.py", line 17, in <module> import audioTrainTest as aT File "/home/pi/pyAudioAnalysis/audioTrainTest.py", line 13, in <module> import audioBasicIO File "/home/pi/pyAudioAnalysis/audioBasicIO.py", line 1, in <module> import os, glob, eyed3, ntpath, shutil, numpy File "/home/pi/.local/lib/python2.7/site-packages/eyed3/__init__.py", line 35, in <module> from .utils.log import log # noqa File "/home/pi/.local/lib/python2.7/site-packages/eyed3/utils/__init__.py", line 23, in <module> import pathlib

jhoelzl commented 7 years ago

yes, i also can confirm this

haribaskar commented 7 years ago
**File "/home/hb/pyAudioAnalysis/audioFeatureExtraction.py", line 18, in <module>
     import audioBasicIO
   File "/home/hb/pyAudioAnalysis/audioBasicIO.py", line 1, in <module>
     import os, glob, eyed3, ntpath, shutil, numpy
   File "/usr/local/lib/python2.7/dist-packages/eyed3/__init__.py", line 35, in <module>
     from .utils.log import log                                            # noqa
   File "/usr/local/lib/python2.7/dist-packages/eyed3/utils/__init__.py", line 23, in <module>>     import pathlib
 ImportError: No module named pathlib**

I can confirm this