Skip to content

requirements.txt wants to create an inconsistent environment #107

@chasrmartin

Description

@chasrmartin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions