<legend id='bi4Ux'><style id='bi4Ux'><dir id='bi4Ux'><q id='bi4Ux'></q></dir></style></legend>

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

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

    <tfoot id='bi4Ux'></tfoot>

      1. Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll

        Python kivy entry point inflateRest2 could not be located libpng16-16.dll(Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll)
        • <bdo id='U6HRK'></bdo><ul id='U6HRK'></ul>
          <i id='U6HRK'><tr id='U6HRK'><dt id='U6HRK'><q id='U6HRK'><span id='U6HRK'><b id='U6HRK'><form id='U6HRK'><ins id='U6HRK'></ins><ul id='U6HRK'></ul><sub id='U6HRK'></sub></form><legend id='U6HRK'></legend><bdo id='U6HRK'><pre id='U6HRK'><center id='U6HRK'></center></pre></bdo></b><th id='U6HRK'></th></span></q></dt></tr></i><div id='U6HRK'><tfoot id='U6HRK'></tfoot><dl id='U6HRK'><fieldset id='U6HRK'></fieldset></dl></div>

              <tbody id='U6HRK'></tbody>
          1. <legend id='U6HRK'><style id='U6HRK'><dir id='U6HRK'><q id='U6HRK'></q></dir></style></legend>

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

                  <tfoot id='U6HRK'></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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Kivy 1.9.0 Windows package KeyError: #39;rthooks#39;(Kivy 1.9.0 Windows 包 KeyError: rthooks)
                  Python Kivy: how to call a function on button click?(Python Kivy:如何在按钮单击时调用函数?)
                  How to disable a widget in Kivy?(如何禁用 Kivy 中的小部件?)
                  Centering an object in Kivy(在 Kivy 中将对象居中)
                  How to downgrade to Python 3.4 from 3.5(如何从 Python 3.5 降级到 Python 3.4)
                  Change button or label text color in kivy(在kivy中更改按钮或标签文本颜色)

                  <legend id='1U0PB'><style id='1U0PB'><dir id='1U0PB'><q id='1U0PB'></q></dir></style></legend>

                      <bdo id='1U0PB'></bdo><ul id='1U0PB'></ul>
                    • <small id='1U0PB'></small><noframes id='1U0PB'>

                    • <tfoot id='1U0PB'></tfoot>

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