Bug#874629: python-otb: PYTHONPATH not updated by python-otb package

Manuel Grizonnet manuel.grizonnet at cnes.fr
Fri Sep 8 09:10:52 UTC 2017


Package: python-otb
Version: 6.0.0+dfsg-1~xenial1
Severity: normal

Dear Maintainer,

the python-otb package (python lib for otb applications) does not work 
out of
the box on my system. The otbApplication Python package is not found 
automatically.

The command to reproduce the issue (just try to import otbApplication):

python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import otbAplication
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named otbAplication

I think that the package installation should probably update the 
PYTHONPATH and
add the path to the otbApplication.py library.

On my system the library is located in /usr/lib/otb/python folder.

Regards,


-- System Information:
Debian Release: stretch/sid
   APT prefers xenial-updates
   APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-93-generic (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-otb depends on:
ii  dh-python                      2.20151103ubuntu1.1
ii  libc6                          2.23-0ubuntu9
ii  libgcc1                        1:6.0.1-0ubuntu1
ii  libinsighttoolkit4.9           4.9.0-4ubuntu1.1
ii  libotb-apps                    6.0.0+dfsg-1~xenial1
ii  libotbapplicationengine-6.0-1  6.0.0+dfsg-1~xenial1
ii  libotbmetadata-6.0-1           6.0.0+dfsg-1~xenial1
ii  libotbossimadapters-6.0-1      6.0.0+dfsg-1~xenial1
ii  libpython2.7                   2.7.12-1ubuntu0~16.04.1
ii  libstdc++6                     5.4.0-6ubuntu1~16.04.4
ii  python                         2.7.11-1

python-otb recommends no packages.

python-otb suggests no packages.

-- no debconf information

-- 
Manuel GRIZONNET



More information about the Pkg-grass-devel mailing list