Package Base Details: python-keras

Git Clone URL: (read-only)
Submitter: StreakyCobra
Maintainer: davidmcinnis (ixil)
Last Packager: davidmcinnis
Votes: 38
Popularity: 2.482535
First Submitted: 2015-06-30 07:08
Last Updated: 2018-10-08 22:54

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

dack commented on 2017-09-05 04:47

I get the following error when I try to import any keras modules:

File "/usr/lib/python3.6/site-packages/tensorflow/contrib/keras/python/keras/", line 34, in <module>
from tensorflow.contrib.tensorboard.plugins import projector
ModuleNotFoundError: No module named 'tensorflow.contrib.tensorboard'

This seems to be similar to, however I tried install python-dask 0.15.2-1 and it made no difference. I'm thinking it's some sort of dependency issue. Has anyone else run into this?

agradzki commented on 2017-07-14 18:04

Unmet dependency community/python-werkzeug

StreakyCobra commented on 2017-04-14 17:52

> Is there any interest in this being just the python3 branch (since python2-keras has its own package already)?

Actually the `python2-keras` package is provided by this one, so it would not make sense to remove it :-)

stick commented on 2017-04-14 17:01

Is there any interest in this being just the python3 branch (since python2-keras has its own package already)? If anyone else wants to build just the python3 portion, you can edit the PKGBUILD as below:

# Maintainer: Fabien Dubosson <>
# Contributer: David McInnis <davidm@eagles.ewu.ewu>

pkgdesc="Deep Learning library (convnets, recurrent neural networks, and more)"
makedepends=('python' 'python-setuptools' 'python-numpy' 'python-scipy' 'python-h5py'

prepare() {
cd "$srcdir/"
cd "${_pkgname}-${pkgver}"

build() {

msg "Building Python 3"
cd "$srcdir/${_pkgname}-${pkgver}"
python build

package_python-keras() {
depends=('python' 'python-numpy' 'python-scipy' 'python-h5py' 'python-yaml')
optdepends=('python-theano' 'python-tensorflow' 'cudnn')
cd "$srcdir/${_pkgname}-${pkgver}"
python install --root="$pkgdir"/ --optimize=1
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"

# vim:set ts=2 sw=2 et:

StreakyCobra commented on 2017-03-16 10:24

@Ape: Seeing upstream README, it seems that yaml dependency is indeed needed. Fixed in 2.0.0-2. Thanks

Ape commented on 2017-03-16 10:07

Should python-yaml be added as a dependency? I got import errors without it.

StreakyCobra commented on 2016-04-17 18:50

@soupault: Done, thx.

soupault commented on 2016-04-17 17:32

@StreakyCobra, there is 1.0.1 already available on GitHub.

StreakyCobra commented on 2016-04-12 15:00

I saw the new blog article about keras 1.0, but as long as there is no release ( or tag 1.0 I cannot update the package.

drawm commented on 2015-09-21 12:35

The dependency "python-scikit-learn" is missing in the PKGBUILD.