Opened 4 years ago

Closed 15 months ago

#1604 closed enhancement (fixed)

Set OTB environment variables in OSGeoLive image

Reported by: loicd Owned by: live-demo@…
Priority: normal Milestone:
Component: OSGeoLive Keywords: OSGeoLive
Cc:

Description

The OTB python API currently does not work "out of the box".

PYTHONPATH=/usr/lib/otb/python and ITK_AUTOLOAD_PATH=/usr/lib/otb/applications have to be set by the user. Could that be done directly when building the image?

Change history (4)

comment:1 Changed 4 years ago by loicd

Component: Systems AdminLiveDVD
Owner: changed from sac@… to live-demo@…

comment:3 Changed 15 months ago by darkblueb

12dev beta2

path now available, but permissions needed to create dot-pyc (?)

This is in the /usr/lib/otb area .. what is the right fix ?

user@osgeolive:~$ python -v
...
>>> 
>>> import otbApplication
import otbApplication # from /usr/lib/otb/python/otbApplication.py
# can't create /usr/lib/otb/python/otbApplication.pyc

comment:4 Changed 15 months ago by darkblueb

Resolution: fixed
Status: newclosed

12dev build285-master

fixed

Note: See TracTickets for help on using tickets.