I am trying to make a standalone application with pyinstaller. The executable just works just fine, but when I try to perform some operations with functions integrated into the pyproj library, the executable fails.
w370> works fine on Pycharm, so I think the problem is that pyinstaller is not communicating with some pyproj library.
Can I do something special with a spec file or something else to point pyproj to a standalone application built with pyinstaller?
This is the error I received:
Traceback (most recent call last): File "<string>", line 6, in
<module> File "C:\pyproj\build\main\out00-PYZ.pyz\pyproj", line 343,
in __new__ File "_proj.pyx", line 85, in _proj.Proj.__cinit__
(_proj.c:1190)
RuntimeError: no system list, errno: 2
This is my "main.py"
import pyproj
print pyproj.__version__
p=pyproj.Proj(init='EPSG:4326')
Thank you in advance
source
share