<small id='6YYea'></small><noframes id='6YYea'>

    <bdo id='6YYea'></bdo><ul id='6YYea'></ul>

<legend id='6YYea'><style id='6YYea'><dir id='6YYea'><q id='6YYea'></q></dir></style></legend>

    1. <i id='6YYea'><tr id='6YYea'><dt id='6YYea'><q id='6YYea'><span id='6YYea'><b id='6YYea'><form id='6YYea'><ins id='6YYea'></ins><ul id='6YYea'></ul><sub id='6YYea'></sub></form><legend id='6YYea'></legend><bdo id='6YYea'><pre id='6YYea'><center id='6YYea'></center></pre></bdo></b><th id='6YYea'></th></span></q></dt></tr></i><div id='6YYea'><tfoot id='6YYea'></tfoot><dl id='6YYea'><fieldset id='6YYea'></fieldset></dl></div>
    2. <tfoot id='6YYea'></tfoot>
    3. Python kivy 入口点 inflateRest2 无法定位 libpng16-16.d

      时间:2023-10-09
      <legend id='PlVdJ'><style id='PlVdJ'><dir id='PlVdJ'><q id='PlVdJ'></q></dir></style></legend>

      • <i id='PlVdJ'><tr id='PlVdJ'><dt id='PlVdJ'><q id='PlVdJ'><span id='PlVdJ'><b id='PlVdJ'><form id='PlVdJ'><ins id='PlVdJ'></ins><ul id='PlVdJ'></ul><sub id='PlVdJ'></sub></form><legend id='PlVdJ'></legend><bdo id='PlVdJ'><pre id='PlVdJ'><center id='PlVdJ'></center></pre></bdo></b><th id='PlVdJ'></th></span></q></dt></tr></i><div id='PlVdJ'><tfoot id='PlVdJ'></tfoot><dl id='PlVdJ'><fieldset id='PlVdJ'></fieldset></dl></div>
          <bdo id='PlVdJ'></bdo><ul id='PlVdJ'></ul>
          1. <small id='PlVdJ'></small><noframes id='PlVdJ'>

                <tbody id='PlVdJ'></tbody>
              <tfoot id='PlVdJ'></tfoot>

                本文介绍了Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                以非管理员用户身份安装 Kivy.当我运行一个基本的 hello World 时,我得到找不到 Python.exe 入口点",其中包含以下详细信息:

                <块引用>

                程序入口点 inflateRest2 无法位于 dll ....python2.7sharedsdl2inlibpng16-16.dll".

                当我点击 OK 时,什么都没有加载.

                谷歌搜索后,我添加了以下两条语句:

                导入操作系统os.environ['KIVY_IMAGE'] = 'pil,sdl2'

                现在当我运行它时,它仍然显示入口点错误,但显示如下所示的输出:

                如何解决入口点问题?

                谢谢.

                解决方案

                你可以用这段代码找到另一个dll

                import ctypes.utilctypes.util.find_library("zlib1.dll")

                <块引用>

                所以我找到了原因.英特尔在 C:Program FilesIntelWiFiin 中引入了他们自己的 zlib1.dll,并将此目录添加到 PATH.因此,每当与 zlib 链接的应用程序尝试在 PATH 中没有 C:msys64mingw64in 的情况下执行时,它都会尝试加载不包含该方法的不同版本的 zlib.真正的解决方案是戳入英特尔并告诉他们停止做愚蠢的事情,比如用他们自己的东西来困扰系统范围的 PATH,但无论如何.只需将您的 mingw64 zlib1.dll 复制到您的应用目录中即可.

                https://github.com/msys2/MINGW-packages/issues/813

                Installed Kivy as non-admin user. When I run a basic hello World I get "Python.exe Entry Point not found" with these details:

                The procedure entry point inflateRest2 could not be located in the dll ....python2.7sharedsdl2inlibpng16-16.dll".

                When I hit okay then nothing loads.

                After googling I added these 2 statements:

                import os
                os.environ['KIVY_IMAGE'] = 'pil,sdl2'
                

                and now when I run this it still shows the entry point error but shows the output as seen here:

                How to fix the entry point issue?

                Thanks.

                解决方案

                You can use this code to find another dll

                import ctypes.util
                ctypes.util.find_library("zlib1.dll")
                
                

                So i found the cause. Intel brings in their own zlib1.dll in C:Program FilesIntelWiFiin and they add this directory to PATH. So whenever an app linked against zlib tries to execute without C:msys64mingw64in in PATH, it tries to load this different version of zlib, that doesn't contain the method. The real solution would be to poke into Intel and tell them to stop doing stupid things like plaguing system-wide PATH with their own things, but whatever. Just copy your mingw64 zlib1.dll into your app directory and call it a day.

                https://github.com/msys2/MINGW-packages/issues/813

                这篇关于Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:将文本输入保存到 kivy 应用程序中的变量 下一篇:在 Kivy 中动态构建下拉菜单

                相关文章

                最新文章

                <small id='alvzj'></small><noframes id='alvzj'>

                  <i id='alvzj'><tr id='alvzj'><dt id='alvzj'><q id='alvzj'><span id='alvzj'><b id='alvzj'><form id='alvzj'><ins id='alvzj'></ins><ul id='alvzj'></ul><sub id='alvzj'></sub></form><legend id='alvzj'></legend><bdo id='alvzj'><pre id='alvzj'><center id='alvzj'></center></pre></bdo></b><th id='alvzj'></th></span></q></dt></tr></i><div id='alvzj'><tfoot id='alvzj'></tfoot><dl id='alvzj'><fieldset id='alvzj'></fieldset></dl></div>
                1. <legend id='alvzj'><style id='alvzj'><dir id='alvzj'><q id='alvzj'></q></dir></style></legend><tfoot id='alvzj'></tfoot>

                    <bdo id='alvzj'></bdo><ul id='alvzj'></ul>