keunwoochoi / music-auto_tagging-keras

Music auto-tagging models and trained weights in keras/theano
MIT License
616 stars 142 forks source link

h5py error #15

Closed mv00147 closed 7 years ago

mv00147 commented 7 years ago

Dear sir, Thank you so much for your immediate response. I installed audio read. Also, since my GPU is still not set up, I plan to run it on the CPU itself. But I get the following error when I try to install h5py module.

Downloading/unpacking h5py Downloading h5py-2.7.0rc2.tar.gz (256Kb): 256Kb downloaded Running setup.py egg_info for package h5py zip_safe flag not set; analyzing archive contents...

Installed /user/HS224/mv00147/py_env/lib/python2.7/site-packages/build/h5py/pkgconfig-1.2.2-py2.7.egg
Traceback (most recent call last):
  File "<string>", line 14, in <module>
  File "/user/HS224/mv00147/py_env/lib/python2.7/site-packages/build/h5py/setup.py", line 165, in <module>
    cmdclass = CMDCLASS,
  File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 221, in __init__
    self.fetch_build_eggs(attrs.pop('setup_requires'))
  File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 245, in fetch_build_eggs
    parse_requirements(requires), installer=self.fetch_build_egg
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 588, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (numpy 1.6.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('numpy>=1.7'))
Complete output from command python setup.py egg_info:
zip_safe flag not set; analyzing archive contents...

Installed /user/HS224/mv00147/py_env/lib/python2.7/site-packages/build/h5py/pkgconfig-1.2.2-py2.7.egg

Traceback (most recent call last):

File "", line 14, in

File "/user/HS224/mv00147/py_env/lib/python2.7/site-packages/build/h5py/setup.py", line 165, in

cmdclass = CMDCLASS,

File "/usr/lib/python2.7/distutils/core.py", line 112, in setup

_setup_distribution = dist = klass(attrs)

File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 221, in init

self.fetch_build_eggs(attrs.pop('setup_requires'))

File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 245, in fetch_build_eggs

parse_requirements(requires), installer=self.fetch_build_egg

File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 588, in resolve

raise VersionConflict(dist,req) # XXX put more info here

pkg_resources.VersionConflict: (numpy 1.6.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('numpy>=1.7'))


Command python setup.py egg_info failed with error code 1 Storing complete log in /user/HS224/mv00147/.pip/pip.log Could you suggest a way forward? Many thanks,

Mahalakshmi

keunwoochoi commented 7 years ago

Hm.. I have no idea what it is about. Only think I can assume is that your whole python installation is not very tidy maybe? I'd try to make a new virtual environment and start installing from scratch.