Issues with pyinstaller and pyproj

前端 未结 3 1247
灰色年华
灰色年华 2020-12-18 07:29

I\'m trying to do an standalone application with pyinstaller. The executable has just build fine, but when I´m trying to do some operations with functions integrated on libr

3条回答
  •  不思量自难忘°
    2020-12-18 07:50

    from PyInstaller.hooks.hookutils import collect_data_files
     datas = collect_data_files('pyproj')
    
    • This didn't worked for me. There were some errors in the executable again.

    But I found in another thread that the problem can be solved with this:

    from mpl_toolkits.basemap import pyproj as pyproj
    

    pyinstaller seem to have problems to integrate the pyproj module itself, but basemap includes pyproj and is not ignored by pyinstaller.

    Just for update

提交回复
热议问题