Control: reassign -1 python-theano 0.9.0+dfsg-2 Control: retitle -1 python-theano fails to load without nonexisting HOME Control: affects -1 python-lasagne Control: severity -1 important Control: reassign 896421 python3-theano 0.9.0+dfsg-2 Control: retitle 896421 python3-theano fails to load with nonexisting HOME Control: affects 896421 python3-lasagne Control: severity 896421 important
On Fri, Apr 20, 2018 at 10:00:53PM +0200, Helmut Grohne wrote: > Package: python-lasagne > Version: 0.1+git20180322.37ca134-1 > Severity: serious > User: helm...@debian.org > Usertags: python-import > > After installing python-lasagne importing the module lasagne > into a python interpreter fails with the following error: > > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "/usr/lib/python2.7/dist-packages/lasagne/__init__.py", line 12, in > <module> > import theano > File "/usr/lib/python2.7/dist-packages/theano/__init__.py", line 66, in > <module> > from theano.compile import ( > File "/usr/lib/python2.7/dist-packages/theano/compile/__init__.py", line > 10, in <module> > from theano.compile.function_module import * > File "/usr/lib/python2.7/dist-packages/theano/compile/function_module.py", > line 21, in <module> > import theano.compile.mode > File "/usr/lib/python2.7/dist-packages/theano/compile/mode.py", line 10, in > <module> > import theano.gof.vm > File "/usr/lib/python2.7/dist-packages/theano/gof/vm.py", line 662, in > <module> > from . import lazylinker_c > File "/usr/lib/python2.7/dist-packages/theano/gof/lazylinker_c.py", line > 42, in <module> > location = os.path.join(config.compiledir, 'lazylinker_ext') > File "/usr/lib/python2.7/dist-packages/theano/configparser.py", line 333, > in __get__ > self.__set__(cls, val_str) > File "/usr/lib/python2.7/dist-packages/theano/configparser.py", line 344, > in __set__ > self.val = self.filter(val) > File "/usr/lib/python2.7/dist-packages/theano/configdefaults.py", line > 1745, in filter_compiledir > " '%s'. Check the permissions." % path) > ValueError: Unable to create the compiledir directory > '/nonexistent/.theano/compiledir_Linux-4.14--amd64-x86_64-with-debian-buster-sid--2.7.15rc1-64'. > Check the permissions. >... The problem is in theano. And depending on the circumstances (I cannot judge it here) it might not even be a bug that this module expect a $HOME that points to a real location. > Helmut cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed