Pyinstaller distributing opencv from Windows 10 to Windows <10, missing ucrt dlls api-ms-win-crt

前端 未结 3 2284
挽巷
挽巷 2021-02-20 08:41

I have a Python 3.5 64 bit program (required by tensorflow for Windows) that uses OpenCV. I am distributing it with pyinstaller.

I built my program with Windows 10

3条回答
  •  北海茫月
    2021-02-20 09:35

    I need to do this myself but haven't yet. I'll try to post my full solution when I do. In the mean time...

    I think you may have to explicitly request they be included instead of just expanding the search path.

    https://pythonhosted.org/PyInstaller/spec-files.html#adding-binary-files

    Probably using the Tree class they mention to collect all the files for you.

    https://pythonhosted.org/PyInstaller/advanced-topics.html#the-tree-class

提交回复
热议问题