Opened 8 years ago

Closed 6 years 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 by loicd, 8 years ago

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

comment:3 by darkblueb, 6 years ago

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 by darkblueb, 6 years ago

Resolution: fixed
Status: newclosed

12dev build285-master

fixed

Note: See TracTickets for help on using tickets.