$ nix-shell these derivations will be built: /nix/store/xdj4vprr0valjrg1k7ldd7f31p38b47q-python3.6-Keras-2.2.0.drv /nix/store/yqklvfrf0k6r57mr7ihjsqw5dknhkbgm-python3-3.6.6-env.drv building '/nix/store/xdj4vprr0valjrg1k7ldd7f31p38b47q-python3.6-Keras-2.2.0.drv'... unpacking sources unpacking source archive /nix/store/p9ybilmm6achrmdhbk260qdp76svjgdx-Keras-2.2.0.tar.gz source root is Keras-2.2.0 setting SOURCE_DATE_EPOCH to timestamp 1528327085 of file Keras-2.2.0/setup.cfg patching sources configuring building running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/docs copying docs/autogen.py -> build/lib/docs copying docs/__init__.py -> build/lib/docs creating build/lib/keras copying keras/initializers.py -> build/lib/keras copying keras/objectives.py -> build/lib/keras copying keras/__init__.py -> build/lib/keras copying keras/losses.py -> build/lib/keras copying keras/constraints.py -> build/lib/keras copying keras/callbacks.py -> build/lib/keras copying keras/optimizers.py -> build/lib/keras copying keras/activations.py -> build/lib/keras copying keras/models.py -> build/lib/keras copying keras/regularizers.py -> build/lib/keras copying keras/metrics.py -> build/lib/keras creating build/lib/keras/datasets copying keras/datasets/mnist.py -> build/lib/keras/datasets copying keras/datasets/__init__.py -> build/lib/keras/datasets copying keras/datasets/imdb.py -> build/lib/keras/datasets copying keras/datasets/cifar10.py -> build/lib/keras/datasets copying keras/datasets/reuters.py -> build/lib/keras/datasets copying keras/datasets/fashion_mnist.py -> build/lib/keras/datasets copying keras/datasets/boston_housing.py -> build/lib/keras/datasets copying keras/datasets/cifar100.py -> build/lib/keras/datasets copying keras/datasets/cifar.py -> build/lib/keras/datasets creating build/lib/keras/engine copying keras/engine/training_utils.py -> build/lib/keras/engine copying keras/engine/network.py -> build/lib/keras/engine copying keras/engine/training.py -> build/lib/keras/engine copying keras/engine/training_generator.py -> build/lib/keras/engine copying keras/engine/input_layer.py -> build/lib/keras/engine copying keras/engine/training_arrays.py -> build/lib/keras/engine copying keras/engine/base_layer.py -> build/lib/keras/engine copying keras/engine/topology.py -> build/lib/keras/engine copying keras/engine/saving.py -> build/lib/keras/engine copying keras/engine/sequential.py -> build/lib/keras/engine copying keras/engine/__init__.py -> build/lib/keras/engine creating build/lib/keras/wrappers copying keras/wrappers/scikit_learn.py -> build/lib/keras/wrappers copying keras/wrappers/__init__.py -> build/lib/keras/wrappers creating build/lib/keras/layers copying keras/layers/pooling.py -> build/lib/keras/layers copying keras/layers/cudnn_recurrent.py -> build/lib/keras/layers copying keras/layers/convolutional_recurrent.py -> build/lib/keras/layers copying keras/layers/embeddings.py -> build/lib/keras/layers copying keras/layers/merge.py -> build/lib/keras/layers copying keras/layers/normalization.py -> build/lib/keras/layers copying keras/layers/__init__.py -> build/lib/keras/layers copying keras/layers/advanced_activations.py -> build/lib/keras/layers copying keras/layers/recurrent.py -> build/lib/keras/layers copying keras/layers/core.py -> build/lib/keras/layers copying keras/layers/convolutional.py -> build/lib/keras/layers copying keras/layers/local.py -> build/lib/keras/layers copying keras/layers/wrappers.py -> build/lib/keras/layers copying keras/layers/noise.py -> build/lib/keras/layers creating build/lib/keras/utils copying keras/utils/__init__.py -> build/lib/keras/utils copying keras/utils/vis_utils.py -> build/lib/keras/utils copying keras/utils/layer_utils.py -> build/lib/keras/utils copying keras/utils/test_utils.py -> build/lib/keras/utils copying keras/utils/conv_utils.py -> build/lib/keras/utils copying keras/utils/generic_utils.py -> build/lib/keras/utils copying keras/utils/np_utils.py -> build/lib/keras/utils copying keras/utils/io_utils.py -> build/lib/keras/utils copying keras/utils/multi_gpu_utils.py -> build/lib/keras/utils copying keras/utils/data_utils.py -> build/lib/keras/utils creating build/lib/keras/preprocessing copying keras/preprocessing/text.py -> build/lib/keras/preprocessing copying keras/preprocessing/__init__.py -> build/lib/keras/preprocessing copying keras/preprocessing/sequence.py -> build/lib/keras/preprocessing copying keras/preprocessing/image.py -> build/lib/keras/preprocessing creating build/lib/keras/applications copying keras/applications/vgg19.py -> build/lib/keras/applications copying keras/applications/densenet.py -> build/lib/keras/applications copying keras/applications/inception_resnet_v2.py -> build/lib/keras/applications copying keras/applications/__init__.py -> build/lib/keras/applications copying keras/applications/inception_v3.py -> build/lib/keras/applications copying keras/applications/nasnet.py -> build/lib/keras/applications copying keras/applications/mobilenetv2.py -> build/lib/keras/applications copying keras/applications/xception.py -> build/lib/keras/applications copying keras/applications/resnet50.py -> build/lib/keras/applications copying keras/applications/vgg16.py -> build/lib/keras/applications copying keras/applications/imagenet_utils.py -> build/lib/keras/applications copying keras/applications/mobilenet.py -> build/lib/keras/applications creating build/lib/keras/legacy copying keras/legacy/interfaces.py -> build/lib/keras/legacy copying keras/legacy/__init__.py -> build/lib/keras/legacy copying keras/legacy/layers.py -> build/lib/keras/legacy creating build/lib/keras/backend copying keras/backend/common.py -> build/lib/keras/backend copying keras/backend/cntk_backend.py -> build/lib/keras/backend copying keras/backend/__init__.py -> build/lib/keras/backend copying keras/backend/tensorflow_backend.py -> build/lib/keras/backend copying keras/backend/theano_backend.py -> build/lib/keras/backend installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/keras copying build/lib/keras/callbacks.py -> build/bdist.linux-x86_64/wheel/keras creating build/bdist.linux-x86_64/wheel/keras/legacy copying build/lib/keras/legacy/__init__.py -> build/bdist.linux-x86_64/wheel/keras/legacy copying build/lib/keras/legacy/layers.py -> build/bdist.linux-x86_64/wheel/keras/legacy copying build/lib/keras/legacy/interfaces.py -> build/bdist.linux-x86_64/wheel/keras/legacy copying build/lib/keras/optimizers.py -> build/bdist.linux-x86_64/wheel/keras creating build/bdist.linux-x86_64/wheel/keras/preprocessing copying build/lib/keras/preprocessing/text.py -> build/bdist.linux-x86_64/wheel/keras/preprocessing copying build/lib/keras/preprocessing/sequence.py -> build/bdist.linux-x86_64/wheel/keras/preprocessing copying build/lib/keras/preprocessing/image.py -> build/bdist.linux-x86_64/wheel/keras/preprocessing copying build/lib/keras/preprocessing/__init__.py -> build/bdist.linux-x86_64/wheel/keras/preprocessing copying build/lib/keras/initializers.py -> build/bdist.linux-x86_64/wheel/keras creating build/bdist.linux-x86_64/wheel/keras/backend copying build/lib/keras/backend/tensorflow_backend.py -> build/bdist.linux-x86_64/wheel/keras/backend copying build/lib/keras/backend/__init__.py -> build/bdist.linux-x86_64/wheel/keras/backend copying build/lib/keras/backend/cntk_backend.py -> build/bdist.linux-x86_64/wheel/keras/backend copying build/lib/keras/backend/common.py -> build/bdist.linux-x86_64/wheel/keras/backend copying build/lib/keras/backend/theano_backend.py -> build/bdist.linux-x86_64/wheel/keras/backend creating build/bdist.linux-x86_64/wheel/keras/wrappers copying build/lib/keras/wrappers/__init__.py -> build/bdist.linux-x86_64/wheel/keras/wrappers copying build/lib/keras/wrappers/scikit_learn.py -> build/bdist.linux-x86_64/wheel/keras/wrappers copying build/lib/keras/metrics.py -> build/bdist.linux-x86_64/wheel/keras copying build/lib/keras/losses.py -> build/bdist.linux-x86_64/wheel/keras copying build/lib/keras/__init__.py -> build/bdist.linux-x86_64/wheel/keras creating build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/cifar100.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/cifar.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/cifar10.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/__init__.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/imdb.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/fashion_mnist.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/mnist.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/boston_housing.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/datasets/reuters.py -> build/bdist.linux-x86_64/wheel/keras/datasets copying build/lib/keras/objectives.py -> build/bdist.linux-x86_64/wheel/keras creating build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/pooling.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/merge.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/cudnn_recurrent.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/advanced_activations.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/__init__.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/convolutional.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/noise.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/normalization.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/embeddings.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/local.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/convolutional_recurrent.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/wrappers.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/recurrent.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/layers/core.py -> build/bdist.linux-x86_64/wheel/keras/layers copying build/lib/keras/constraints.py -> build/bdist.linux-x86_64/wheel/keras copying build/lib/keras/activations.py -> build/bdist.linux-x86_64/wheel/keras copying build/lib/keras/models.py -> build/bdist.linux-x86_64/wheel/keras copying build/lib/keras/regularizers.py -> build/bdist.linux-x86_64/wheel/keras creating build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/__init__.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/training_generator.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/network.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/topology.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/saving.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/base_layer.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/input_layer.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/training_arrays.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/training.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/sequential.py -> build/bdist.linux-x86_64/wheel/keras/engine copying build/lib/keras/engine/training_utils.py -> build/bdist.linux-x86_64/wheel/keras/engine creating build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/mobilenetv2.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/mobilenet.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/xception.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/resnet50.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/vgg16.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/nasnet.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/__init__.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/inception_resnet_v2.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/vgg19.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/imagenet_utils.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/inception_v3.py -> build/bdist.linux-x86_64/wheel/keras/applications copying build/lib/keras/applications/densenet.py -> build/bdist.linux-x86_64/wheel/keras/applications creating build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/data_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/__init__.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/multi_gpu_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/conv_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/layer_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/np_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/test_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/generic_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/io_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils copying build/lib/keras/utils/vis_utils.py -> build/bdist.linux-x86_64/wheel/keras/utils creating build/bdist.linux-x86_64/wheel/docs copying build/lib/docs/autogen.py -> build/bdist.linux-x86_64/wheel/docs copying build/lib/docs/__init__.py -> build/bdist.linux-x86_64/wheel/docs running install_egg_info running egg_info writing Keras.egg-info/PKG-INFO writing dependency_links to Keras.egg-info/dependency_links.txt writing requirements to Keras.egg-info/requires.txt writing top-level names to Keras.egg-info/top_level.txt reading manifest file 'Keras.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'Keras.egg-info/SOURCES.txt' Copying Keras.egg-info to build/bdist.linux-x86_64/wheel/Keras-2.2.0-py3.6.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/Keras-2.2.0.dist-info/WHEEL creating '/tmp/nix-build-python3.6-Keras-2.2.0.drv-0/Keras-2.2.0/dist/Keras-2.2.0-py3-none-any.whl' and adding '.' to it adding 'docs/__init__.py' adding 'docs/autogen.py' adding 'keras/__init__.py' adding 'keras/activations.py' adding 'keras/callbacks.py' adding 'keras/constraints.py' adding 'keras/initializers.py' adding 'keras/losses.py' adding 'keras/metrics.py' adding 'keras/models.py' adding 'keras/objectives.py' adding 'keras/optimizers.py' adding 'keras/regularizers.py' adding 'keras/applications/__init__.py' adding 'keras/applications/densenet.py' adding 'keras/applications/imagenet_utils.py' adding 'keras/applications/inception_resnet_v2.py' adding 'keras/applications/inception_v3.py' adding 'keras/applications/mobilenet.py' adding 'keras/applications/mobilenetv2.py' adding 'keras/applications/nasnet.py' adding 'keras/applications/resnet50.py' adding 'keras/applications/vgg16.py' adding 'keras/applications/vgg19.py' adding 'keras/applications/xception.py' adding 'keras/backend/__init__.py' adding 'keras/backend/cntk_backend.py' adding 'keras/backend/common.py' adding 'keras/backend/tensorflow_backend.py' adding 'keras/backend/theano_backend.py' adding 'keras/datasets/__init__.py' adding 'keras/datasets/boston_housing.py' adding 'keras/datasets/cifar.py' adding 'keras/datasets/cifar10.py' adding 'keras/datasets/cifar100.py' adding 'keras/datasets/fashion_mnist.py' adding 'keras/datasets/imdb.py' adding 'keras/datasets/mnist.py' adding 'keras/datasets/reuters.py' adding 'keras/engine/__init__.py' adding 'keras/engine/base_layer.py' adding 'keras/engine/input_layer.py' adding 'keras/engine/network.py' adding 'keras/engine/saving.py' adding 'keras/engine/sequential.py' adding 'keras/engine/topology.py' adding 'keras/engine/training.py' adding 'keras/engine/training_arrays.py' adding 'keras/engine/training_generator.py' adding 'keras/engine/training_utils.py' adding 'keras/layers/__init__.py' adding 'keras/layers/advanced_activations.py' adding 'keras/layers/convolutional.py' adding 'keras/layers/convolutional_recurrent.py' adding 'keras/layers/core.py' adding 'keras/layers/cudnn_recurrent.py' adding 'keras/layers/embeddings.py' adding 'keras/layers/local.py' adding 'keras/layers/merge.py' adding 'keras/layers/noise.py' adding 'keras/layers/normalization.py' adding 'keras/layers/pooling.py' adding 'keras/layers/recurrent.py' adding 'keras/layers/wrappers.py' adding 'keras/legacy/__init__.py' adding 'keras/legacy/interfaces.py' adding 'keras/legacy/layers.py' adding 'keras/preprocessing/__init__.py' adding 'keras/preprocessing/image.py' adding 'keras/preprocessing/sequence.py' adding 'keras/preprocessing/text.py' adding 'keras/utils/__init__.py' adding 'keras/utils/conv_utils.py' adding 'keras/utils/data_utils.py' adding 'keras/utils/generic_utils.py' adding 'keras/utils/io_utils.py' adding 'keras/utils/layer_utils.py' adding 'keras/utils/multi_gpu_utils.py' adding 'keras/utils/np_utils.py' adding 'keras/utils/test_utils.py' adding 'keras/utils/vis_utils.py' adding 'keras/wrappers/__init__.py' adding 'keras/wrappers/scikit_learn.py' adding 'Keras-2.2.0.dist-info/top_level.txt' adding 'Keras-2.2.0.dist-info/WHEEL' adding 'Keras-2.2.0.dist-info/METADATA' adding 'Keras-2.2.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel installing /tmp/nix-build-python3.6-Keras-2.2.0.drv-0/Keras-2.2.0/dist /tmp/nix-build-python3.6-Keras-2.2.0.drv-0/Keras-2.2.0 Processing ./Keras-2.2.0-py3-none-any.whl Requirement already satisfied: six>=1.9.0 in /nix/store/nmkaim5kp9sgmnpi2xk12fmbvkacbp4w-python3.6-six-1.11.0/lib/python3.6/site-packages (from Keras==2.2.0) (1.11.0) Requirement already satisfied: pyyaml in /nix/store/1xmgisc61lg6dx92ax344k764lpn9a36-python3.6-PyYAML-3.13/lib/python3.6/site-packages (from Keras==2.2.0) (3.13) Requirement already satisfied: scipy>=0.14 in /nix/store/lbw2psi7x2nc4z2bwjn0lf395jbn4429-python3.6-scipy-1.1.0/lib/python3.6/site-packages (from Keras==2.2.0) (1.1.0) Collecting keras-preprocessing==1.0.1 (from Keras==2.2.0) Could not find a version that satisfies the requirement keras-preprocessing==1.0.1 (from Keras==2.2.0) (from versions: ) No matching distribution found for keras-preprocessing==1.0.1 (from Keras==2.2.0) builder for '/nix/store/xdj4vprr0valjrg1k7ldd7f31p38b47q-python3.6-Keras-2.2.0.drv' failed with exit code 1 cannot build derivation '/nix/store/yqklvfrf0k6r57mr7ihjsqw5dknhkbgm-python3-3.6.6-env.drv': 1 dependencies couldn't be built error: build of '/nix/store/yqklvfrf0k6r57mr7ihjsqw5dknhkbgm-python3-3.6.6-env.drv' failed