Package Details: python-theano 1.0.5-1

Git Clone URL: (read-only, click to copy)
Package Base: python-theano
Description: Definition and optimized evaluation of mathematical expressions on Numpy arrays.
Upstream URL:
Licenses: BSD
Submitter: davidmcinnis
Maintainer: SZanko (Perfi)
Last Packager: SZanko
Votes: 31
Popularity: 0.000000
First Submitted: 2015-09-13 03:46 (UTC)
Last Updated: 2021-02-01 10:20 (UTC)

Dependencies (10)

Sources (1)

Latest Comments

MarsSeed commented on 2022-06-27 11:47 (UTC)

Please remove python-pydot-ng optdepend: discontinued in 2018, it's now deleted from AUR.

(Also its developer recommended everyone to use the main python-pydot instead.)

Perfi commented on 2020-08-24 16:09 (UTC)

Here's a patch to update to 1.0.5:

diff --git a/PKGBUILD b/PKGBUILD
index b74845c..d0ebd1d 100644
@@ -3,8 +3,8 @@
 pkgname=("python-theano" "python2-theano")
 pkgdesc='Definition and optimized evaluation of mathematical expressions on Numpy arrays.'
@@ -12,7 +12,7 @@ license=('BSD')
 makedepends=('python-distribute' 'python2-distribute')
 #checkdepends=('python-nose' 'python-parameterized' 'python2-nose' 'python2-parameterized')

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

I can help co-maintain this if you'd like.

JohnRobson commented on 2020-02-22 16:31 (UTC)

import theano
ModuleNotFoundError: No module named 'theano'

Only worked after installing through PIP: $ sudo python -m pip install --upgrade theano

davidmcinnis commented on 2019-03-31 12:38 (UTC)

@xantares good suggestion about python2-parameterized. This package isn't necessary unless running check(), which takes over 4 hours to complete on my machine. Commented out python-parameterized and python2-parameterized from checkdepends().

xantares commented on 2019-03-31 12:30 (UTC)

please drop python2-parameterized

davidmcinnis commented on 2019-03-21 23:20 (UTC) (edited on 2019-03-30 13:26 (UTC) by davidmcinnis)

Thank you for the suggestion @xantares. Updated check-depends.

xantares commented on 2019-03-21 16:44 (UTC)

optdepends should moved to each package section else python-theano optionally requires python2-mpi4py:

checking dependencies...

:: python-theano optionally requires python2-mpi4py

davidmcinnis commented on 2018-07-15 08:14 (UTC)

Thanks for the helpful comments @xantares. I tried to move the numpy dependency like you said. I will keep working on it till I get things right.

Morganamilo commented on 2018-07-14 17:45 (UTC)

Looks like the maintainer might have taken my comment the wrong way. I said to move the global depends, the depends in the package functions should have stayed.

xantares commented on 2018-07-14 17:32 (UTC) (edited on 2018-07-14 17:33 (UTC) by xantares)


python-theano depends on python2-numpy, this is wrong

remove the global depends

move python-numpy and python2-numpy to makedepends

then add depends=(python-numpy) in package_python-theano

and depends=(python2-numpy) in package_python2-theano

Morganamilo commented on 2018-07-07 10:05 (UTC)

@cafehaine The issues seems to be because the pkgbuild defines the global depends then overrides them in the package. The global depends should either be removed or merged into the makedepends.

cafehaine commented on 2018-05-13 12:34 (UTC)

Cannot build because of missing dependencies (python2-numpy)

arvidsaur commented on 2017-11-29 15:57 (UTC)

Seems like pypi has dropped http support, but the pkgbuild works if you change the source to https.

davidmcinnis commented on 2017-01-14 20:20 (UTC)

Updated to python 3.6. check() commented out because it takes forever and uses lots of RAM. CPU checks pass on my computer, but take 4+ hours for everything to complete. GPU checks fail on my computer because my Geforce 9600 GT does not meet minimum CUDA requirements for this package.

thrasibule commented on 2017-01-11 21:04 (UTC)

Need to replace scripts-3.5 by scripts-3.6 with python 3.6.

soupault commented on 2016-03-26 06:38 (UTC) (edited on 2016-03-26 06:45 (UTC) by soupault)

Hi! The latest update ships permission errors. See for the details. Same for `python2-theano`. For example, permissions for `scikit-image`: -rw-r--r-- 1 root root 1,4K mar 9 20:40 PKG-INFO and for the latest `theano`: -rw-r----- 1 root root 11K mar 24 22:52 PKG-INFO

jpate commented on 2015-10-06 15:55 (UTC)

After the update of python to 3.5, the line that copies build scripts (line 41) needs to be updated to: cp -f build/scripts-3.5/* bin/

m01 commented on 2015-09-18 20:47 (UTC)

Does this package implicitly require cudnn, if a CUDA-capable graphics card is present? I get 193 test failures (after 8h of testing..), most of which look like this: dnn_available.msg) Exception: ('The following error happened while compiling the node', GpuDnnConvD esc{border_mode='full', subsample=(1, 2), conv_mode='cross'}(MakeVector.0, MakeV ector.0), '\n', "We can't determine the cudnn version as it is not available", ' Theano can not compile with cuDNN. We got this error:\n/tmp/try_flags_a6sjL4.c:5 :19: fatal error: cudnn.h: No such file or directory\ncompilation terminated.\n' ) The last error I get is this: ====================================================================== ERROR: This is a REALLY PARTIAL TEST. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/", line 197, in runTest self.test(*self.arg) File "/tmp/yaourt-tmp-michiel/aur-python-theano/src/Theano-0.7.0-py2/build/lib /theano/tests/", line 82, in test_pydotprint_variables theano.printing.pydotprint_variables(x * 2) File "/tmp/yaourt-tmp-michiel/aur-python-theano/src/Theano-0.7.0-py2/build/lib /theano/", line 1077, in pydotprint_variables g.write(outfile, prog='dot', format=format) File "/usr/lib/python2.7/site-packages/", line 1911, in write dot_fd.write(self.create(prog, format)) File "/usr/lib/python2.7/site-packages/", line 2023, in create status, stderr_output) ) InvocationException: Program terminated with status: 1. stderr follows: Error: / tmp/tmplWP0Fd: syntax error in line 8 near ']'