Issues with pyinstaller and pyproj

前端 未结 3 1253
灰色年华
灰色年华 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 08:11

    Just threading on the previous answer, since 2014 there has been some refactoring on PyInstaller and here is the correct import line for the hook file above :

    from PyInstaller.utils.hooks import collect_data_files
    datas = collect_data_files('pyproj')
    

提交回复
热议问题