Package: python-lasagne
Version: 0.1+git20180322.37ca134-1
Severity: serious
User: [email protected]
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 vast majority of import failures is attributed to missing dependencies.
Often times that manifests as an ImportError or ModuleNotFoundError.
Typically, dependencies should be inserted by dh-python via ${python:Depends}
or ${python3:Depends}. Thus a missing dependency can be caused by incomplete
install_requires in setup.py. Sometimes a missing dependency of a dependency
is the cause, in such cases this bug should be reassigned.
Helmut
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers