1. <small id='ipWj1'></small><noframes id='ipWj1'>

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

      错误:无法为使用 PEP 517 且无法直接安装的 Kivy 构

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

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

                <bdo id='1VDXH'></bdo><ul id='1VDXH'></ul>

                <small id='1VDXH'></small><noframes id='1VDXH'>

                本文介绍了错误:无法为使用 PEP 517 且无法直接安装的 Kivy 构建轮子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我一直在尝试在 windows10 机器上安装 kivy,但没有得到预期的输出,相反,我收到了一系列奇怪的错误消息.首先我运行了以下命令:

                I've been trying to install kivy on windows10 machine and I did not get an expected output, instead, I got a series of weird error messages. First I ran the following commands:

                python -m pip install --upgrade pip wheel setuptools
                python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
                python -m pip install kivy.deps.gstreamer
                python -m pip install kivy.deps.angle
                python -m pip install pygame
                

                据我所知,一切都很顺利.

                And as far as I know, everything went right.

                之后,我运行了这个命令:python -m pip install https://github.com/kivy/kivy/archive/master.zip

                After that, I ran this command: python -m pip install https://github.com/kivy/kivy/archive/master.zip

                命令输出帮助我分解了执行它的过程.

                Command output helped me break down the process of executing it.

                首先我在获取制造轮子的要求"时收到一条错误消息.

                First I got an error message while "Getting requirements to build wheel".

                错误信息:

                我在准备轮子元数据"时收到此错误;和用于 Kivy (PEP 517) 的构建轮"也是.我觉得值得一提的是,每次我说错误发生时,它都发生了两次,一次又一次.

                I got this error while "Preparing wheel metadata" and "Building wheel for Kivy (PEP 517)" as well. I think that it is worth mentioning that every time I said that error occurred, it occurred twice, one after another.

                在那之后,我得到了一个巨大的错误:

                After that, I got a huge error:

                您可以通过以下链接下载带有错误消息的测试文件:https://filesend.standardnotes.org/send/BPQTjNM3aiUyRXOtfA3A#ZGI2ZDUzMWU2MmYzNTlhNTVlODEw

                You can download the test file with an error message on this link: https://filesend.standardnotes.org/send/BPQTjNM3aiUyRXOtfA3A#ZGI2ZDUzMWU2MmYzNTlhNTVlODEw

                注意:我执行的所有命令都是在管理员运行的cmd中执行的.

                Note: All the commands that I executed were executed in cmd ran by the administrator.

                如果有人能向我解释发生了什么,我将不胜感激!

                If anyone can explain to me what is going on I would highly appreciate it!

                推荐答案

                在这里解决相关问题 - 错误:无法为使用 PEP 517 且无法直接安装的钟摆制造轮子和 pip 无法为 scipy 构建轮子

                Going by related issues here - ERROR: Could not build wheels for pendulum which use PEP 517 and cannot be installed directly and pip failing to build wheels for scipy

                答案似乎表明降级 pip 版本可能会解决问题.但在此之前请尝试

                The answers seem to suggest that downgrading pip version will likely solve the problem. But before that please try

                pip install --upgrade pip setuptools wheel

                代替

                python -m pip install --upgrade pip wheel setuptools

                看看能不能解决.如果没有,请通过执行来降级您的 pip

                and see if it solves. If not, downgrade your pip by doing

                python -m pip install --force-reinstall pip==18.1
                

                如果这些都不起作用,那么您唯一可行的解​​决方案是在 Anaconda 中使用 Kivy.您可以从这里查看更多安装信息.

                If none of these work then your only viable solution is to use Kivy within Anaconda. You can see more on installation from here.

                这篇关于错误:无法为使用 PEP 517 且无法直接安装的 Kivy 构建轮子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:将变量值从 main.py 传递到 .kv 文件 下一篇:buildozer android NDK没有下载Ubuntu

                相关文章

                最新文章

                <legend id='7ZWG3'><style id='7ZWG3'><dir id='7ZWG3'><q id='7ZWG3'></q></dir></style></legend><tfoot id='7ZWG3'></tfoot>
                • <bdo id='7ZWG3'></bdo><ul id='7ZWG3'></ul>

                <small id='7ZWG3'></small><noframes id='7ZWG3'>

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