Opened 9 years ago
Closed 6 years ago
#1604 closed enhancement (fixed)
Set OTB environment variables in OSGeoLive image
Reported by: | loicd | Owned by: | |
---|---|---|---|
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 , 9 years ago
Component: | Systems Admin → LiveDVD |
---|---|
Owner: | changed from | to
comment:2 by , 6 years ago
comment:3 by , 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
Note:
See TracTickets
for help on using tickets.
related https://gis.stackexchange.com/questions/220427/import-otbapplication-in-python