Your message dated Sat, 5 May 2018 15:32:29 +0100
with message-id <[email protected]>
and subject line Not a bug Re: python*-theano fails to load with nonexisting 
HOME
has caused the Debian Bug report #896220,
regarding python-theano fails to load with nonexisting HOME
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
896220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896220
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
1.0.1+dfsg-1 adds the above workaround to the error message.

Beyond this, I don't consider this a bug, so am closing it.

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to