Kivy install error

There are a number of questions that repeatedly need to be answered. The following document tries to answer some of them.

Table Of Contents

  • FAQ
    • Technical FAQ
      • Unable to get a Window, abort.
      • Fatal Python error: (pygame parachute) Segmentation Fault
      • undefined symbol: glGenerateMipmap
      • ImportError: No module named event
    • Android FAQ
      • Crash on touch interaction on Android 2.3.x
      • Is it possible to have a kiosk app on android 3.0 ?
      • What’s the difference between python-for-android from Kivy and SL4A?
    • Project FAQ
      • Why do you use Python? Isn’t it slow?
      • Does Kivy support Python 3.x?
      • How is Kivy related to PyMT?
      • Do you accept patches?
      • Does the Kivy project participate in Google’s Summer of Code ?

There are a number of questions that repeatedly need to be answered.
The following document tries to answer some of them.

Technical FAQ¶

Unable to get a Window, abort.¶

If Kivy cannot instantiate a Window core provider (mostly SDL2), you’ll see
this. The underlying issue depends on many things:

  • Check your installation. Twice.

  • Check that your graphics driver support OpenGL 2.1 at the minimum. Otherwise, Kivy can’t run.

  • If you use windows and ANGLE (KIVY_GL_BACKEND=angle_sdl2), check that you have DirectX 9 support.

  • If your platform doesn’t supports OpenGL, SDL2 cannot initialize OpenGL.

  • Don’t mix the architecture of the dependencies (e.g. Python 64-bit and 32-bit extensions/SDL2)

  • Don’t mix python installation: e.g. if you have Python and Anaconda installed, the Python actually run may be different than you think. Similarly, if you have multiple Python versions available on the PATH, they may clash.

  • Check your PATH to ensure that other programs in it don’t provide the same dlls as Kivy/Python, or bad stuff can happen.

    • This commonly happens if some other program that uses similar dependencies as Kivy adds itself to the PATH so that Kivy’s dependencies clash with theirs.

    • Please read this and this for more details on PATH.

    • The best tool to troubleshoot this is with Dependency Walker explained here and here.

    • But ensure that you’re launching it from the identical environment that you start Python.

  • Ensure you have all dependencies installed (like kivy_deps.sdl2).

  • Maybe your drivers have some missing OpenGL symbols? Try to switch to another graphics backend with KIVY_GL_BACKEND.

  • Maybe your Pycharm configuration is incorrect.

Fatal Python error: (pygame parachute) Segmentation Fault¶

Most of time, this issue is due to the usage of old graphics drivers. Install the
latest graphics driver available for your graphics card, and it should be ok.

If not, this means you have probably triggered some OpenGL code without an
available OpenGL context. If you are loading images, atlases, using graphics
instructions, you must spawn a Window first:

# method 1 (preferred)
from kivy.base import EventLoop
EventLoop.ensure_window()

# method 2
from kivy.core.window import Window

If not, please report a detailed issue on github by following the instructions
in the Reporting an Issue section of the Contributing documentation.
This is very important for us because that kind of error can be very hard
to debug. Give us all the information you can give about your environment and
execution.

undefined symbol: glGenerateMipmap¶

You graphics card or its drivers might be too old. Update your graphics drivers to the
latest available version and retry.

ImportError: No module named event¶

If you use Kivy from our development version, you must compile it before
using it. In the kivy directory, do:

Android FAQ¶

Crash on touch interaction on Android 2.3.x¶

There have been reports of crashes on Adreno 200/205 based devices.
Apps otherwise run fine but crash when interacted with/through the screen.

These reports also mentioned the issue being resolved when moving to an ICS or
higher ROM.

Is it possible to have a kiosk app on android 3.0 ?¶

Thomas Hansen have wrote a detailed answer on the kivy-users mailing list:

Basically, you need to root the device, remove the SystemUI package, add some
lines to the xml configuration, and you’re done.

What’s the difference between python-for-android from Kivy and SL4A?¶

Despite having the same name, Kivy’s python-for-android is not related to the
python-for-android project from SL4A, Py4A, or android-python27. They are
distinctly different projects with different goals. You may be able to use
Py4A with Kivy, but no code or effort has been made to do so. The Kivy team
feels that our python-for-android is the best solution for us going forward,
and attempts to integrate with and support Py4A is not a good use of our time.

Project FAQ¶

Why do you use Python? Isn’t it slow?¶

Let us try to give a thorough answer; please bear with us.

Python is a very agile language that allows you to do many things
in a (by comparison) short time.
For many development scenarios, we strongly prefer writing our
application quickly in a high-level language such as Python, testing
it, then optionally optimizing it.

But what about speed?
If you compare execution speeds of implementations for a certain set of
algorithms (esp. number crunching) you will find that Python is a lot
slower than say, C++.
Now you may be even more convinced that it’s not a good idea in our
case to use Python. Drawing sophisticated graphics (and we are
not talking about your grandmother’s OpenGL here) is computationally
quite expensive and given that we often want to do that for rich user
experiences, that would be a fair argument.
But, in virtually every case your application ends up spending
most of the time (by far) executing the same part of the code.
In Kivy, for example, these parts are event dispatching and graphics
drawing. Now Python allows you to do something to make these parts
much faster.

By using Cython, you can compile your code down to the C level,
and from there your usual C compiler optimizes things. This is
a pretty pain free process and if you add some hints to your
code, the result becomes even faster. We are talking about a speed up
in performance by a factor of anything between 1x and up to more
than 1000x (greatly depends on your code). In Kivy, we did this for
you and implemented the portions of our code, where efficiency really
is critical, on the C level.

For graphics drawing, we also leverage today’s GPUs which are, for
some tasks such as graphics rasterization, much more efficient than a
CPU. Kivy does as much as is reasonable on the GPU to maximize
performance. If you use our Canvas API to do the drawing, there is
even a compiler that we invented which optimizes your drawing code
automatically. If you keep your drawing mostly on the GPU,
much of your program’s execution speed is not determined by the
programming language used, but by the graphics hardware you throw at
it.

We believe that these (and other) optimizations that Kivy does for you
already make most applications fast enough by far. Often you will even
want to limit the speed of the application in order not to waste
resources.
But even if this is not sufficient, you still have the option of using
Cython for your own code to greatly speed it up.

Trust us when we say that we have given this very careful thought.
We have performed many different benchmarks and come up with some
clever optimizations to make your application run smoothly.

Does Kivy support Python 3.x?¶

Yes! Kivy 2.2.0.dev0 officially supports Python versions 3.7 — 3.10.

As of version 2.0.0 Kivy dropped support for Python 2. You can still use older versions with
Python 2 support.

Python 3 is also supported by python-for-android and kivy-ios.

Do you accept patches?¶

Yes, we love patches. In order to ensure a smooth integration of your
precious changes however, please make sure to read our contribution
guidelines.
Obviously we don’t accept every patch. Your patch has to be consistent
with our styleguide and, more importantly, make sense.
It does make sense to talk to us before you come up with bigger
changes, especially new features.

Does the Kivy project participate in Google’s Summer of Code ?¶

Potential students ask whether we participate in GSoC.
The clear answer is: Indeed. :-)

If you want to participate as a student and want to maximize your
chances of being accepted, start talking to us today and try fixing
some smaller (or larger, if you can ;-) problems to get used to our
workflow. If we know you can work well with us, that’d be a big plus.

Here’s a checklist:

  • Make sure to read through the website and at least skim the documentation.

  • Look at the source code.

  • Read our contribution guidelines.

  • Pick an idea that you think is interesting from the ideas list (see link
    above) or come up with your own idea.

  • Do some research yourself. GSoC is not about us teaching you something
    and you getting paid for that. It is about you trying to achieve agreed upon
    goals by yourself with our support. The main driving force in this should be,
    obviously, yourself. Many students come up and ask what they should
    do. Well, we don’t know because we know neither your interests nor your
    skills. Show us you’re serious about it and take initiative.

  • Write a draft proposal about what you want to do. Include what you understand
    the current state is (very roughly), what you would like to improve and how,
    etc.

  • Discuss that proposal with us in a timely manner. Get feedback.

  • Be patient! Especially on Discord. We will try to get to you if we’re available.
    If not, send an email and just wait. Most questions are already answered in
    the docs or somewhere else and can be found with some research. If your
    questions don’t reflect that you’ve actually thought through what you’re
    asking, it might not be well received.

Good luck! :-)

I tried to install kivy on my computer but it shows the following big massive Error:
Please Help me out

C:Windowssystem32>python -m pip install kivy==1.11.1
Collecting kivy==1.11.1
Using cached Kivy-1.11.1.tar.gz (23.6 MB)
ERROR: Command errored out with exit status 1:
command: ‘C:Python38python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersssAppDataLocalTemppip-install-0e34cajtkivysetup.py'»‘»‘; file='»‘»‘C:UsersssAppDataLocalTemppip-install-0e34cajtkivysetup.py'»‘»‘;f=getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ egg_info —egg-base ‘C:UsersssAppDataLocalTemppip-pip-egg-info-r0fp0iez’
cwd: C:UsersssAppDataLocalTemppip-install-0e34cajtkivy
Complete output (395 lines):
WARNING: Skipping page https://github.com/kivy-garden/garden/archive/master.zip because the HEAD request got Content-Type: application/zip.The only supported Content-Type is text/html
ERROR: Command errored out with exit status 1:
command: ‘C:Python38python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘»‘»‘C:UsersssAppDataLocalTemppip-wheel-4t65l8n9cythonsetup.py'»‘»‘; file='»‘»‘C:UsersssAppDataLocalTemppip-wheel-4t65l8n9cythonsetup.py'»‘»‘;f=getattr(tokenize, ‘»‘»‘open'»‘»‘, open)(file);code=f.read().replace(‘»‘»‘rn'»‘»‘, ‘»‘»‘n'»‘»‘);f.close();exec(compile(code, file, ‘»‘»‘exec'»‘»‘))’ bdist_wheel -d ‘C:UsersssAppDataLocalTemppip-wheel-wwdb4jib’
cwd: C:UsersssAppDataLocalTemppip-wheel-4t65l8n9cython
Complete output (321 lines):
Unable to find pgen, not compiling formal grammar.
running bdist_wheel
running build
running build_py
creating build
creating buildlib.win-amd64-3.8
copying cython.py -> buildlib.win-amd64-3.8
creating buildlib.win-amd64-3.8Cython
copying CythonCodeWriter.py -> buildlib.win-amd64-3.8Cython
copying CythonCoverage.py -> buildlib.win-amd64-3.8Cython
copying CythonDebugging.py -> buildlib.win-amd64-3.8Cython
copying CythonShadow.py -> buildlib.win-amd64-3.8Cython
copying CythonStringIOTree.py -> buildlib.win-amd64-3.8Cython
copying CythonTestUtils.py -> buildlib.win-amd64-3.8Cython
copying CythonUtils.py -> buildlib.win-amd64-3.8Cython
copying Cython_init_.py -> buildlib.win-amd64-3.8Cython
creating buildlib.win-amd64-3.8CythonBuild
copying CythonBuildBuildExecutable.py -> buildlib.win-amd64-3.8CythonBuild
copying CythonBuildCythonize.py -> buildlib.win-amd64-3.8CythonBuild
copying CythonBuildDependencies.py -> buildlib.win-amd64-3.8CythonBuild
copying CythonBuildDistutils.py -> buildlib.win-amd64-3.8CythonBuild
copying CythonBuildInline.py -> buildlib.win-amd64-3.8CythonBuild
copying CythonBuildIpythonMagic.py -> buildlib.win-amd64-3.8CythonBuild
copying CythonBuild_init_.py -> buildlib.win-amd64-3.8CythonBuild
creating buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerAnalysedTreeTransforms.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerAnnotate.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerAutoDocTransforms.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerBuffer.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerBuiltin.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerCmdLine.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerCode.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerCodeGeneration.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerCythonScope.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerDebugFlags.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerErrors.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerExprNodes.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerFlowControl.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerFusedNode.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerFuture.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerInterpreter.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerLexicon.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerMain.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerMemoryView.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerModuleNode.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerNaming.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerNodes.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerOptimize.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerOptions.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerParseTreeTransforms.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerParsing.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerPipeline.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerPyrexTypes.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerPythran.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerScanning.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerStringEncoding.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerSymtab.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerTreeFragment.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerTreePath.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerTypeInference.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerTypeSlots.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerUtilityCode.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerUtilNodes.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerVersion.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerVisitor.py -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompiler_init_.py -> buildlib.win-amd64-3.8CythonCompiler
creating buildlib.win-amd64-3.8CythonRuntime
copying CythonRuntime_init_.py -> buildlib.win-amd64-3.8CythonRuntime
creating buildlib.win-amd64-3.8CythonDistutils
copying CythonDistutilsbuild_ext.py -> buildlib.win-amd64-3.8CythonDistutils
copying CythonDistutilsextension.py -> buildlib.win-amd64-3.8CythonDistutils
copying CythonDistutilsold_build_ext.py -> buildlib.win-amd64-3.8CythonDistutils
copying CythonDistutils_init_.py -> buildlib.win-amd64-3.8CythonDistutils
creating buildlib.win-amd64-3.8CythonDebugger
copying CythonDebuggerCygdb.py -> buildlib.win-amd64-3.8CythonDebugger
copying CythonDebuggerDebugWriter.py -> buildlib.win-amd64-3.8CythonDebugger
copying CythonDebuggerlibcython.py -> buildlib.win-amd64-3.8CythonDebugger
copying CythonDebuggerlibpython.py -> buildlib.win-amd64-3.8CythonDebugger
copying CythonDebugger_init_.py -> buildlib.win-amd64-3.8CythonDebugger
creating buildlib.win-amd64-3.8CythonDebuggerTests
copying CythonDebuggerTestsTestLibCython.py -> buildlib.win-amd64-3.8CythonDebuggerTests
copying CythonDebuggerTeststest_libcython_in_gdb.py -> buildlib.win-amd64-3.8CythonDebuggerTests
copying CythonDebuggerTeststest_libpython_in_gdb.py -> buildlib.win-amd64-3.8CythonDebuggerTests
copying CythonDebuggerTests_init_.py -> buildlib.win-amd64-3.8CythonDebuggerTests
creating buildlib.win-amd64-3.8CythonPlex
copying CythonPlexActions.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexDFA.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexErrors.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexLexicons.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexMachines.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexRegexps.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexScanners.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexTiming.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexTraditional.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexTransitions.py -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlex_init_.py -> buildlib.win-amd64-3.8CythonPlex
creating buildlib.win-amd64-3.8CythonTests
copying CythonTestsTestCodeWriter.py -> buildlib.win-amd64-3.8CythonTests
copying CythonTestsTestCythonUtils.py -> buildlib.win-amd64-3.8CythonTests
copying CythonTestsTestJediTyper.py -> buildlib.win-amd64-3.8CythonTests
copying CythonTestsTestStringIOTree.py -> buildlib.win-amd64-3.8CythonTests
copying CythonTestsxmlrunner.py -> buildlib.win-amd64-3.8CythonTests
copying CythonTests_init_.py -> buildlib.win-amd64-3.8CythonTests
creating buildlib.win-amd64-3.8CythonBuildTests
copying CythonBuildTestsTestCyCache.py -> buildlib.win-amd64-3.8CythonBuildTests
copying CythonBuildTestsTestInline.py -> buildlib.win-amd64-3.8CythonBuildTests
copying CythonBuildTestsTestIpythonMagic.py -> buildlib.win-amd64-3.8CythonBuildTests
copying CythonBuildTestsTestStripLiterals.py -> buildlib.win-amd64-3.8CythonBuildTests
copying CythonBuildTests_init_.py -> buildlib.win-amd64-3.8CythonBuildTests
creating buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestBuffer.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestCmdLine.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestFlowControl.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestGrammar.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestMemView.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestParseTreeTransforms.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestSignatureMatching.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestTreeFragment.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestTreePath.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestTypes.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestUtilityLoad.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTestsTestVisitor.py -> buildlib.win-amd64-3.8CythonCompilerTests
copying CythonCompilerTests_init_.py -> buildlib.win-amd64-3.8CythonCompilerTests
creating buildlib.win-amd64-3.8CythonUtility
copying CythonUtility_init_.py -> buildlib.win-amd64-3.8CythonUtility
creating buildlib.win-amd64-3.8CythonTempita
copying CythonTempitacompat3.py -> buildlib.win-amd64-3.8CythonTempita
copying CythonTempita_looper.py -> buildlib.win-amd64-3.8CythonTempita
copying CythonTempita_tempita.py -> buildlib.win-amd64-3.8CythonTempita
copying CythonTempita_init_.py -> buildlib.win-amd64-3.8CythonTempita
creating buildlib.win-amd64-3.8pyximport
copying pyximportpyxbuild.py -> buildlib.win-amd64-3.8pyximport
copying pyximportpyximport.py -> buildlib.win-amd64-3.8pyximport
copying pyximport_init_.py -> buildlib.win-amd64-3.8pyximport
creating buildlib.win-amd64-3.8CythonIncludes
copying CythonIncludesopenmp.pxd -> buildlib.win-amd64-3.8CythonIncludes
creating buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonarray.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonbool.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonbuffer.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonbytearray.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonbytes.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonceval.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythoncobject.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythoncomplex.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythondatetime.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythondict.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonexc.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonfloat.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonfunction.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythongetargs.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythoninstance.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonint.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythoniterator.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonlist.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonlong.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonlongintrepr.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonmapping.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonmem.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonmethod.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonmodule.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonnumber.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonobject.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonoldbuffer.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonpycapsule.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonpylifecycle.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonpystate.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonpythread.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonref.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonsequence.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonset.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonslice.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonstring.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythontuple.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythontype.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonunicode.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonversion.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpythonweakref.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
copying CythonIncludescpython_init_.pxd -> buildlib.win-amd64-3.8CythonIncludescpython
creating buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_bool.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_buffer.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_bytes.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_cobject.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_complex.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_dict.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_exc.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_float.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_function.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_getargs.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_instance.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_int.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_iterator.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_list.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_long.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_mapping.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_mem.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_method.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_module.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_number.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_object.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_oldbuffer.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_pycapsule.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_ref.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_sequence.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_set.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_string.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_tuple.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_type.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_unicode.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_version.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedpython_weakref.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedstdio.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedstdlib.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
copying CythonIncludesDeprecatedstl.pxd -> buildlib.win-amd64-3.8CythonIncludesDeprecated
creating buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcerrno.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcfloat.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibclimits.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibclocale.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcmath.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcsetjmp.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcsignal.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcstddef.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcstdint.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcstdio.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcstdlib.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibcstring.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibctime.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
copying CythonIncludeslibc_init_.pxd -> buildlib.win-amd64-3.8CythonIncludeslibc
creating buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppalgorithm.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppcast.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppcomplex.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppdeque.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppforward_list.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppfunctional.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppiterator.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcpplimits.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcpplist.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppmap.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppmemory.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcpppair.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppqueue.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppset.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppstack.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppstring.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcpptypeindex.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcpptypeinfo.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppunordered_map.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppunordered_set.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcpputility.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcppvector.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
copying CythonIncludeslibcpp_init_.pxd -> buildlib.win-amd64-3.8CythonIncludeslibcpp
creating buildlib.win-amd64-3.8CythonIncludesnumpy
copying CythonIncludesnumpymath.pxd -> buildlib.win-amd64-3.8CythonIncludesnumpy
copying CythonIncludesnumpy_init_.pxd -> buildlib.win-amd64-3.8CythonIncludesnumpy
creating buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixdlfcn.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixfcntl.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixioctl.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixmman.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixresource.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixselect.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixsignal.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixstat.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixstdio.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixstdlib.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixstrings.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixtime.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixtypes.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixunistd.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposixwait.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonIncludesposix_init_.pxd -> buildlib.win-amd64-3.8CythonIncludesposix
copying CythonCompilerCode.pxd -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerFlowControl.pxd -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerParseTreeTransforms.pxd -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerParsing.pxd -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerScanning.pxd -> buildlib.win-amd64-3.8CythonCompiler
copying CythonCompilerVisitor.pxd -> buildlib.win-amd64-3.8CythonCompiler
copying CythonRuntimerefnanny.pyx -> buildlib.win-amd64-3.8CythonRuntime
copying CythonDebuggerTestscodefile -> buildlib.win-amd64-3.8CythonDebuggerTests
copying CythonDebuggerTestscfuncs.c -> buildlib.win-amd64-3.8CythonDebuggerTests
copying CythonPlexActions.pxd -> buildlib.win-amd64-3.8CythonPlex
copying CythonPlexScanners.pxd -> buildlib.win-amd64-3.8CythonPlex
copying CythonUtilityCConvert.pyx -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityCpdefEnums.pyx -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityCppConvert.pyx -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityMemoryView.pyx -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityTestCythonScope.pyx -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityTestCyUtilityLoader.pyx -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityAsyncGen.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityBuffer.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityBuiltins.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityCapsule.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityCMath.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityCommonStructures.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityComplex.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityCoroutine.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityCythonFunction.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityEmbed.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityExceptions.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityExtensionTypes.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityFunctionArguments.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityImportExport.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityMemoryView_C.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityModuleSetupCode.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityObjectHandling.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityOptimize.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityOverflow.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityPrinting.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityProfile.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityStringTools.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityTestUtilityLoader.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityTypeConversion.c -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityarrayarray.h -> buildlib.win-amd64-3.8CythonUtility
copying CythonUtilityCppSupport.cpp -> buildlib.win-amd64-3.8CythonUtility
running build_ext
building ‘Cython.Plex.Scanners’ extension
error: Microsoft Visual C++ 14.0 is required. Get it with «Build Tools for Visual Studio»: https://visualstudio.microsoft.com/downloads/
—————————————-
ERROR: Failed building wheel for cython
ERROR: Failed to build one or more wheels
Traceback (most recent call last):
File «C:Python38libsite-packagessetuptoolsinstaller.py», line 128, in fetch_build_egg
subprocess.check_call(cmd)
File «C:Python38libsubprocess.py», line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘C:Python38python.exe’, ‘-m’, ‘pip’, ‘—disable-pip-version-check’, ‘wheel’, ‘—no-deps’, ‘-w’, ‘C:UsersssAppDataLocalTemptmp2u3gv0c3’, ‘—quiet’, ‘—find-links’, ‘https://github.com/kivy-garden/garden/archive/master.zip’, ‘cython!=0.27,!=0.27.2,<=0.29.10,>=0.24′]’ returned non-zero exit status 1.

 The above exception was the direct cause of the following exception:

 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File "C:UsersssAppDataLocalTemppip-install-0e34cajtkivysetup.py", line 1073, in <module>
     setup(
   File "C:Python38libsite-packagessetuptools__init__.py", line 162, in setup
     _install_setup_requires(attrs)
   File "C:Python38libsite-packagessetuptools__init__.py", line 157, in _install_setup_requires
     dist.fetch_build_eggs(dist.setup_requires)
   File "C:Python38libsite-packagessetuptoolsdist.py", line 699, in fetch_build_eggs
     resolved_dists = pkg_resources.working_set.resolve(
   File "C:Python38libsite-packagespkg_resources__init__.py", line 779, in resolve
     dist = best[req.key] = env.best_match(
   File "C:Python38libsite-packagespkg_resources__init__.py", line 1064, in best_match
     return self.obtain(req, installer)
   File "C:Python38libsite-packagespkg_resources__init__.py", line 1076, in obtain
     return installer(requirement)
   File "C:Python38libsite-packagessetuptoolsdist.py", line 758, in fetch_build_egg
     return fetch_build_egg(self, req)
   File "C:Python38libsite-packagessetuptoolsinstaller.py", line 130, in fetch_build_egg
     raise DistutilsError(str(e)) from e
 distutils.errors.DistutilsError: Command '['C:\Python38\python.exe', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', 'C:\Users\ss\AppData\Local\Temp\tmp2u3gv0c3', '--quiet', '--find-links', 'https://github.com/kivy-garden/garden/archive/master.zip', 'cython!=0.27,!=0.27.2,<=0.29.10,>=0.24']' returned non-zero exit status 1.
Using setuptools
User distribution detected, avoid portable command.
Using this graphics system: OpenGL
WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)

b"'pkg-config' is not recognized as an internal or external command,rnoperable program or batch file.rn"

WARNING: A problem occurred while running pkg-config --libs --cflags gstreamer-1.0 (code 1)

b"'pkg-config' is not recognized as an internal or external command,rnoperable program or batch file.rn"

WARNING: A problem occurred while running pkg-config --libs --cflags sdl2 SDL2_ttf SDL2_image SDL2_mixer (code 1)

b"'pkg-config' is not recognized as an internal or external command,rnoperable program or batch file.rn"

ERROR: Dependency for context.pyx not resolved: config.pxi
ERROR: Dependency for compiler.pyx not resolved: config.pxi
ERROR: Dependency for context_instructions.pyx not resolved: config.pxi
ERROR: Dependency for fbo.pyx not resolved: config.pxi
ERROR: Dependency for gl_instructions.pyx not resolved: config.pxi
ERROR: Dependency for instructions.pyx not resolved: config.pxi
ERROR: Dependency for opengl.pyx not resolved: config.pxi
ERROR: Dependency for opengl_utils.pyx not resolved: config.pxi
ERROR: Dependency for shader.pyx not resolved: config.pxi
ERROR: Dependency for stencil_instructions.pyx not resolved: config.pxi
ERROR: Dependency for scissor_instructions.pyx not resolved: config.pxi
ERROR: Dependency for texture.pyx not resolved: config.pxi
ERROR: Dependency for vbo.pyx not resolved: config.pxi
ERROR: Dependency for vertex.pyx not resolved: config.pxi
ERROR: Dependency for vertex_instructions.pyx not resolved: config.pxi
ERROR: Dependency for cgl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_mock.pyx not resolved: config.pxi
ERROR: Dependency for cgl_gl.pyx not resolved: config.pxi
ERROR: Dependency for cgl_glew.pyx not resolved: config.pxi
ERROR: Dependency for cgl_sdl2.pyx not resolved: config.pxi
ERROR: Dependency for svg.pyx not resolved: config.pxi
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Содержание

  1. Ошибка подпроцесса при установке Kivy на Windows. Что делать?
  2. ERROR: Command errored out with exit status 1: while installing kivy #7140
  3. Comments
  4. C:Userspavan>python -m pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.1.* kivy_deps.glew==0.1.* Requirement already satisfied: docutils in c:userspavanappdatalocalprogramspythonpython39libsite-packages (0.16) Requirement already satisfied: pygments in c:userspavanappdatalocalprogramspythonpython39libsite-packages (2.7.1) Requirement already satisfied: pypiwin32 in c:userspavanappdatalocalprogramspythonpython39libsite-packages (223) ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2==0.1.* (from versions: 0.3.0, 0.3.1) ERROR: No matching distribution found for kivy_deps.sdl2==0.1.*
  5. So i changed my comment as «C:Userspavan>python -m pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.3.* kivy_deps.glew==0.3.*» After the package is installed.Then i entered 3rd command 3. python -m pip install kivy==1.11.1 For this i got error for that i downloaded and installed microsoft c++ build tools,again i used command as «pip install —pre —extra-index-url https://kivy.org/downloads/simple kivy[base]» for this i got following error
  6. C:Userspavan>pip install —pre —extra-index-url https://kivy.org/downloads/simple kivy[base] Looking in indexes: https://pypi.org/simple, https://kivy.org/downloads/simple Collecting kivy[base] Using cached Kivy-2.0.0rc3.tar.gz (23.6 MB) Installing build dependencies . error ERROR: Command errored out with exit status 1: command: ‘c:userspavanappdatalocalprogramspythonpython39python.exe’ ‘c:userspavanappdatalocalprogramspythonpython39libsite-packagespip’ install —ignore-installed —no-user —prefix ‘C:UserspavanAppDataLocalTemppip-build-env-l6clgiwroverlay’ —no-warn-script-location —no-binary :none: —only-binary :none: -i https://pypi.org/simple —extra-index-url https://kivy.org/downloads/simple —pre — setuptools wheel ‘cython>=0.24, =0.24 Using cached Cython-0.29.14.tar.gz (2.1 MB) ERROR: Could not find a version that satisfies the requirement kivy_deps.gstreamer_dev
  7. ERROR: Command errored out with exit status 1: ‘c:userspavanappdatalocalprogramspythonpython39python.exe’ ‘c:userspavanappdatalocalprogramspythonpython39libsite-packagespip’ install —ignore-installed —no-user —prefix ‘C:UserspavanAppDataLocalTemppip-build-env-l6clgiwroverlay’ —no-warn-script-location —no-binary :none: —only-binary :none: -i https://pypi.org/simple —extra-index-url https://kivy.org/downloads/simple —pre — setuptools wheel ‘cython>=0.24,
  8. Ошибка подпроцесса при установке Kivy на Windows. Что делать?
  9. pip install kivy in virtualenv fails with error: ‘../include/config.pxi’ not found #5391
  10. Comments
  11. Versions
  12. Description
  13. Code and Logs
  14. Relevant bits from strace
  15. Full traceback
  16. Steps to reproduce
  17. Versions
  18. Description
  19. Code and Logs
  20. Installation on Linux¶
  21. Installation components¶
  22. Installing Python¶
  23. Ubuntu¶
  24. Fedora¶
  25. Source installation Dependencies¶
  26. Ubuntu¶
  27. Fedora¶
  28. Using software packages (PPA etc.)¶
  29. Ubuntu / Kubuntu / Xubuntu / Lubuntu (Saucy and above)¶
  30. Debian (Jessie or newer)¶
  31. Linux Mint¶
  32. Bodhi Linux¶
  33. OpenSuSE¶
  34. Gentoo¶
  35. Device permissions¶

Ошибка подпроцесса при установке Kivy на Windows. Что делать?

Я пытался установить Kivy через pip по инструкции с официального сайта, однако, при попытке установки консоль выдаёт следующую ошибку:

Если это важно, у меня стоит python 3.10.

Как решить данную проблему?

  • Вопрос задан 06 февр. 2022
  • 3481 просмотр

Потихонечку откатываемся на python 3.8

Также, если есть желание, перед установкой любой библиотеки, желательно почитать офф. инструкцию по установке:
Kivy 2.0.0 officially supports Python versions 3.6 — 3.9. — второе предложение в инструкции!

Потихонечку откатываемся на python 3.8

А если серьёзно, у вас он работает с 3.9?

3.7, 3.8, 3.9 — тут вообще без разницы, абсолютно.

Тем более, последние версии не опытным пользователям привозят только вагон и маленькую тележку проблем.

Если без разницы, тогда почему 3.8?

Какие проблемы привозит 3.9 в отличие от 3.8?

Как вариант, меньшее количество пакетов, доступных через pip install. Конечно, можно большинство пакетов в Python 3.9, 3.10. установить из исходников, но новички этим заниматься не будут!

Источник

ERROR: Command errored out with exit status 1: while installing kivy #7140

As you people suggested i run the command inthe command window as follows.

  1. python -m pip install —upgrade pip setuptools wheel
  2. python -m pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.1.* kivy_deps.glew==0.1.*
    —> for this command i got following error

C:Userspavan>python -m pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.1.* kivy_deps.glew==0.1.*
Requirement already satisfied: docutils in c:userspavanappdatalocalprogramspythonpython39libsite-packages (0.16)
Requirement already satisfied: pygments in c:userspavanappdatalocalprogramspythonpython39libsite-packages (2.7.1)
Requirement already satisfied: pypiwin32 in c:userspavanappdatalocalprogramspythonpython39libsite-packages (223)
ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2==0.1.* (from versions: 0.3.0, 0.3.1)
ERROR: No matching distribution found for kivy_deps.sdl2==0.1.*

=0.2.0 (from versions: 0.3.0, 0.3.1)
ERROR: No matching distribution found for kivy_deps.gstreamer_dev

ERROR: Command errored out with exit status 1: ‘c:userspavanappdatalocalprogramspythonpython39python.exe’ ‘c:userspavanappdatalocalprogramspythonpython39libsite-packagespip’ install —ignore-installed —no-user —prefix ‘C:UserspavanAppDataLocalTemppip-build-env-l6clgiwroverlay’ —no-warn-script-location —no-binary :none: —only-binary :none: -i https://pypi.org/simple —extra-index-url https://kivy.org/downloads/simple —pre — setuptools wheel ‘cython>=0.24,

The text was updated successfully, but these errors were encountered:

Источник

Ошибка подпроцесса при установке Kivy на Windows. Что делать?

Я пытался установить Kivy через pip по инструкции с официального сайта, однако, при попытке установки консоль выдаёт следующую ошибку:

Если это важно, у меня стоит python 3.10.

Как решить данную проблему?

  • Вопрос задан 06 февр. 2022
  • 3481 просмотр

Потихонечку откатываемся на python 3.8

Также, если есть желание, перед установкой любой библиотеки, желательно почитать офф. инструкцию по установке:
Kivy 2.0.0 officially supports Python versions 3.6 — 3.9. — второе предложение в инструкции!

Потихонечку откатываемся на python 3.8

А если серьёзно, у вас он работает с 3.9?

3.7, 3.8, 3.9 — тут вообще без разницы, абсолютно.

Тем более, последние версии не опытным пользователям привозят только вагон и маленькую тележку проблем.

Если без разницы, тогда почему 3.8?

Какие проблемы привозит 3.9 в отличие от 3.8?

Как вариант, меньшее количество пакетов, доступных через pip install. Конечно, можно большинство пакетов в Python 3.9, 3.10. установить из исходников, но новички этим заниматься не будут!

Источник

pip install kivy in virtualenv fails with error: ‘../include/config.pxi’ not found #5391

Versions

  • Python: 2.7.12
  • OS: Ubuntu 16.04 LTS
  • Kivy: 1.10.0, master (7991cef)
  • Kivy installation method: pip + virtualenv

Description

(As the included code makes this issue rather long, here is the structure of the headings so you can head straight for the bit most relevant to you.)

I am attempting to install kivy in a virtualenv, following the official instructions. However, when I reach the step where I run pip install kivy I get the following error (full traceback and steps to reproduce further down):

Where should config.pxi come from, and what should it contain? Am I missing an installation step, or is this due to an assumption in Kivy’s setup.py?

By inserting traces, I found the installation process looks for config.pxi in these locations:

Code and Logs

The problem occurs both with pip install kivy==1.10.0 and with pip install git+https://github.com/kivy/kivy.git@master .

Relevant bits from strace

(Thanks to Julia Evans for her zine explaining strace !)

Full traceback

Steps to reproduce

If you do not want to use Vagrant, look for this code block in the Vagrantfile below:

Because the steps to reproduce include sudo apt-get install , I have placed
them in a Vagrantfile. Vagrant makes it trivial to create and destroy virtual
machines that have the same environment every time. This is useful for
reproducible development environments, but also to demonstrate bugs.

Vagrant usage
  • Install Vagrant from https://www.vagrantup.com
  • Create a directory, and place the contents below in a file called Vagrantfile
  • cd to the directory and run vagrant up

That’s it! The problem mentioned above will occur at the end of the provisioning. From there, you might want to:

  • vagrant ssh to SSH into the virtual machine
  • vagrant halt to shut down the machine; vagrant up to restart it
  • vagrant destroy + vagrant up to recreate the machine from scratch
  • vagrant provision to rerun the provisioning script.
Vagrantfile

Call this file Vagrantfile . See the previous section for usage.

The text was updated successfully, but these errors were encountered:

This error does not occur with

It may have to do with 00b2ddb, ‘path changes for config.pxi’.

Edit: kivy==1.91.1 was a typo, I meant that the last working version is 1.9.1 .

Hi, @sietse, is it possible that the exact commands are:

These didn’t yield any errors for me (but cython and 1.91.1 did).

Hi @rubencabrera, thank you for looking at this issue. The combination that I am reporting a problem with is

, which fails with the following error:

A quick overview of other version combinations, to save you some experimentation:

  • Cython==0.23 plus kivy==1.91.1 was a typo: Kivy ‘one point ninety-one’ does not exist. I have edited my post above accordingly.
  • Cython==0.23 plus kivy==1.9.1 is the most recent combination proposed by the docs that works.
  • Cython==0.25 plus kivy==1.10.1 (suggested by the official documentation since 2017-07-24) throws an error because there is no Kivy 1.10.1 on PyPI.

Do you know anything about config.pxi , what it should contain, and why Cython fails to find it in /tmp/pip-build-PQ2L9G/kivy/kivy/graphics/../include/config.pxi ,
./../include/config.pxi , or $HOME/.virtualenvs/kivy/local/lib/python2.7/site-packages/Cython/Includes/../include/config.pxi ?

Confirm,
Cython 0.25 results in config.pxi error while installing kivy 1.10.0

I’m using virtualenv in Debian 8.9.

I also confirm this issue with cython==0.25 and kivy==1.10.1 on Ubuntu 16.04 64bit Python 3.5.

FWIW, cython==0.25 and kivy==1.9.1 also throws the same error.

However, cython==0.24 and kivy==1.9.1 works and cython==0.24 and kivy==1.10.0 works.

EDIT: cython==0.24 and kivy==1.10.0 works for me.

I run into a similar error (at least the beginning of the traceback is quite similar). I will downgrade cython and try it with kivy==1.9.1. Nevertheless, here are my configurations and traceback.

Versions

  • Python: 2.7.14 (custom/manual python, not the «build-in python»)
  • OS: Lubuntu (32bit) 16.04.3 LTE
  • Kivy: 1.10 (cython==0.25)
  • Kivy installation method: «on ubuntu inside a virtualenv» (actually I am using pipenv)

Description

I try to install kivy using pipenv. I follow the Ubuntu example for «Dependencies with SDL2» found on kivy docs.

Code and Logs

/Projects/CalcGame/v0.1.7$ pipenv install kivypipenv: command not found arbo@TINY-HAPPY:

Источник

Installation on Linux¶

To install Kivy on Linux using pip , please follow the main installation guide . Otherwise, continue to the PPA instructions below .

Installation components¶

Following, are additional information linked to from some of the steps in the main pip installation guide , specific to Linux.

Installing Python¶

Python and python-pip must be installed from the package manager:

Ubuntu¶

Fedora¶

You will likely need to do this preliminary step which installs the rpmfusion-free repository unless you have some other 3rd-party repo installed which has the required packages. See rpmfusion.org for complete installation instructions, but only the rpmfusion-free repo is needed for acquiring kivy dependencies (though rpmfusion-nonfree is recommended by rpm fusion installation instructions) as shown in this step.

After you ensure that a 3rd-party repository containing any packages that dnf is otherwise unable to find, continue installing dependencies:

Source installation Dependencies¶

To install Kivy from source, please follow the installation guide until you reach the Kivy install step and then install the dependencies below before continuing. Additionally, if you’d like to be able to use the x11 window backend do:

Ubuntu¶

Fedora¶

Using software packages (PPA etc.)¶

Ubuntu / Kubuntu / Xubuntu / Lubuntu (Saucy and above)¶

Add one of the PPAs as you prefer

$ sudo add-apt-repository ppa:kivy-team/kivy

$ sudo add-apt-repository ppa:kivy-team/kivy-daily

$ sudo apt-get update

$ sudo apt-get install python3-kivy

optionally the gallery of Examples — kivy-examples

$ sudo apt-get install kivy-examples

Debian (Jessie or newer)¶

Add one of the PPAs to your sources.list in apt manually or via Synaptic

Notice: Wheezy is not supported — You’ll need to upgrade to Jessie at least!

Add the GPG key to your apt keyring by executing

sudo apt-key adv —keyserver keyserver.ubuntu.com —recv-keys A863D2D6

apt-key adv —keyserver keyserver.ubuntu.com —recv-keys A863D2D6

Refresh your package list and install python-kivy and/or python3-kivy and optionally the examples found in kivy-examples

Linux Mint¶

Find out on which Ubuntu release your installation is based on, using this overview.

Continue as described for Ubuntu above, depending on which version your installation is based on.

Bodhi Linux¶

Find out which version of the distribution you are running and use the table below to find out on which Ubuntu LTS it is based.

Ubuntu 10.04 LTS aka Lucid (No packages, just manual install)

Ubuntu 12.04 LTS aka Precise

Ubuntu 14.04 LTS aka Trusty

Ubuntu 16.04 LTS aka Xenial

Continue as described for Ubuntu above, depending on which version your installation is based on.

OpenSuSE¶

To install kivy go to http://software.opensuse.org/package/python-Kivy and use the “1 Click Install” for your openSuse version. You might need to make the latest kivy version appear in the list by clicking on “Show unstable packages”. We prefer to use packages by ” devel:languages:python”.

If you would like access to the examples, please select python-Kivy-examples in the upcoming installation wizard.

Gentoo¶

There is a kivy ebuild (kivy stable version)

available USE-flags are:

cairo: Standard flag, let kivy use cairo graphical libraries. camera: Install libraries needed to support camera. doc: Standard flag, will make you build the documentation locally. examples: Standard flag, will give you kivy examples programs. garden: Install garden tool to manage user maintained widgets. gstreamer: Standard flag, kivy will be able to use audio/video streaming libraries. spell: Standard flag, provide enchant to use spelling in kivy apps.

Device permissions¶

When you app starts, Kivy uses Mtdev to scan for available multi-touch devices to use for input. Access to these devices is typically restricted to users or groups with the appropriate permissions.

If you do not have access to these devices, Kivy will log an error or warning specifying these devices, normally something like:

In order to use these devices, you can add your user to a group that has the required permissions. For example, in Ubuntu, you can add the user to the ‘input’ group:

Note that you need to log out then back in again for these permissions to be applied.

Источник

Понравилась статья? Поделить с друзьями:
  • Kisan newton ошибка e 0104
  • Kinopub ошибка загрузки фильмов
  • Kinopub ошибка активации
  • Kinopub searchitems error
  • Kinopoisk ошибка воспроизведения