Converting py file to exe, Cannot find existing PyQt5 plugin directories

前端 未结 5 1993
余生分开走
余生分开走 2020-12-15 02:09

I\'m quite new to phyton and I\'ve just finished my first application. Now, I\'m trying to compile my .py file to an .exe buy that doestn seem to work. I\'ve looked everywhe

5条回答
  •  爱一瞬间的悲伤
    2020-12-15 02:31

    I installed the latest version of PyInstaller, then this exception of "Cannot find existing PyQt5 plugin directories" is addressed.

    You can install the latest version of PyInstaller through the following command:

    pip install https://github.com/pyinstaller/pyinstaller/tarball/develop
    

    P.S: Some information about my setup:

    $conda info
          conda version : 4.6.14
    conda-build version : 3.17.8
         python version : 3.7.3.final.0
               platform : win-64
             user-agent : conda/4.6.14 requests/2.21.0 CPython/3.7.3 Windows/10 Windows/10.0.17763
    
    $ pip show pyinstaller
    Name: PyInstaller
    Version: 3.5.dev0+d74052489
    Summary: PyInstaller bundles a Python application and all its dependencies into a single package.
    

提交回复
热议问题