davidADSP / GDL_code

The official code repository for examples in the O'Reilly book 'Generative Deep Learning'

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

requirements.txt wants to create an inconsistent environment

chasrmartin opened this issue · comments

Just trying to use the book sources, and I'm having a big struggle with getting a working environment. The closest I've come is getting out of conda, making sure I have python 3.8 as my default, I do pip install -r requirements.txt on the tensorflow_2 branch. I try to import keras as suggested and I get

[GDL_code] 2822 $ ipython
Python 3.8.5 (default, Sep  4 2020, 02:22:02)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.8.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import keras
Using TensorFlow backend.
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd