Unable to package Python GDAL
|Reported by:||geojulien||Owned by:||hobu|
I created a portable executable with py2exe but executing it I've got that issue:
Traceback (most recent call last): File "DicoGIS.py", line 55, in <module> File "osgeo\gdal.pyo", line 472, in <module> File "osgeo\ogr.pyo", line 486, in <module> File "osgeo\ogr.pyo", line 454, in __init__ NameError: global name 'help' is not defined
Looking for a referenced solution, I found out this GitHub? issue on the PyInstaller? (an alternative to py2exe): https://github.com/pyinstaller/pyinstaller/issues/1522#issuecomment-143382875
Working on Windows, I installed the last package from Christoph Gohlke website (http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal): 2.0.2 with CPython 2.7.11, inside a venv.