Python3 OTB application bindings available in the OTB package don't work on Linux
Description
Error with the OTB Python3 bindings using the OTB standalone installer
Steps to reproduce
Python3 bindings are not working on my Linux system using the OTB standalone package. There is an error in load_dynamic method when I try to import otbApplication. Note that it works with Python 2.7 (in my case 2.7.12)
Step to reproduce and error message:
source otbenv.profile python3
import otbApplication Traceback (most recent call last): File "", line 1, in File "/home/grizonnetm/software/OTB-6.4.0-Linux64/lib/python/otbApplication.py", line 28, in _otbApplication = swig_import_helper() File "/home/grizonnetm/software/OTB-6.4.0-Linux64/lib/python/otbApplication.py", line 24, in swig_import_helper _mod = imp.load_module('_otbApplication', fp, pathname, description) File "/usr/lib/python3.5/imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic return _load(spec) ImportError: dynamic module does not define module export function (PyInit__otbApplication)
Configuration information
Ubuntu 14.04 OTB 6.4.0 (binary package 64b) Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux