basveeling / wavenet

Keras WaveNet implementation
https://soundcloud.com/basveeling/wavenet-sample
1.06k stars 219 forks source link

virtualenv issue #43

Closed Latzy47 closed 3 years ago

Latzy47 commented 4 years ago

Currently I am trying to use WaveNet. My OS is Windows 10 and I've installed Python 2.7.18 and 3.5.3. If I'm trying to install the requirements (in the virtualenv) via pip install -r requirements.txt, I can't install tensorflow-gpu 1.8.0, because you can only install this with Python versions 3.5-3.7. Then I tried this with pip3 install -r requirements.txt. This works for me. If I now test python wavenet.py, it throws this error:

Traceback (most recent call last):
  File "wavenet.py", line 9, in <module>
    import keras.backend as K
ImportError: No module named keras.backend

The requirements are installed with Python 3 and if I'm trying to execute wavenet.py with Python 2, it doesn't work. Does somebody know how to fix my problem? Thanks in advance, regards!