I have installed every necessary code in Python from Kivy, but the last one I need which one is python -m pip install kivy gets me an error like this:
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.
I use windows 10, please help!
Oddthinking
23.8k19 gold badges83 silver badges121 bronze badges
asked Dec 1, 2019 at 11:51
19
This worked for me:
matham commented 15 days ago
We are not likely to release a 1.11.1 version for 3.8 to pypi. However, you can install kivy master using:
pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/
![]()
eyllanesc
230k18 gold badges147 silver badges217 bronze badges
answered Dec 15, 2019 at 18:02
Try using pip install kivy==2.0.0rc2 or pip install kivy==2.0.0rc1
The command: pip install kivy==2.0.0rc2
Works with Windows 10 Pro and Python 3.8.3
And I test it with this code:
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text= " Hello Kivy World ")
TestApp().run()
![]()
Ophir Carmi
2,5411 gold badge23 silver badges41 bronze badges
answered Sep 2, 2020 at 21:46
1
This works in macOS Catalina 10.15.6 with python 3.8.0+
pip install kivy==2.0.0rc2
answered Sep 10, 2020 at 5:28
![]()
FGrungeFGrunge
461 silver badge4 bronze badges
If you are using conda environment:
conda install -c conda-forge kivy
works in python 3.8
answered Nov 19, 2020 at 10:07
karenkaren
8221 gold badge6 silver badges22 bronze badges
I am windows 10, with 3.8.2
seems pip install kivy==2.0.0rc2 worked. At least it installed.
time to tell if I can develop with it using 3.8.2
answered Sep 11, 2020 at 21:15
Hi i update my python version to 3.8.0 and when i try to install kivy i get the following error «also the error happened when i try to install it on pycharm» :
C:UsersHussam>pip install Kivy
Collecting Kivy
Using cached https://files.pythonhosted.org/packages/1b/4d/3f8a720f561dc1eabe036c0d87c6ce9d02823275391265538e606f45e37a/Kivy-1.11.1.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:usershussamappdatalocalprogramspythonpython38python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Hussam\AppData\Local\Temp\pip-install-wmjvsmt5\Kivy\setup.py'"'"'; __file__='"'"'C:\Users\Hussam\AppData\Local\Temp\pip-install-wmjvsmt5\Kivy\setup.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:UsersHussamAppDataLocalTemppip-install-wmjvsmt5Kivypip-egg-info'
cwd: C:UsersHussamAppDataLocalTemppip-install-wmjvsmt5Kivy
Complete output (199 lines):
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
Compiling C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonPlexScanners.py because it changed.
Compiling C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonPlexActions.py because it changed.
Compiling C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonCompilerScanning.py because it changed.
Compiling C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonCompilerVisitor.py because it changed.
Compiling C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonCompilerFlowControl.py because it changed.
Compiling C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonRuntimerefnanny.pyx because it changed.
Compiling C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonCompilerFusedNode.py because it changed.
Compiling C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonTempita_tempita.py because it changed.
[1/8] Cythonizing C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonCompilerFlowControl.py
[2/8] Cythonizing C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonCompilerFusedNode.py
[3/8] Cythonizing C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonCompilerScanning.py
[4/8] Cythonizing C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonCompilerVisitor.py
[5/8] Cythonizing C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonPlexActions.py
[6/8] Cythonizing C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonPlexScanners.py
[7/8] Cythonizing C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonRuntimerefnanny.pyx
[8/8] Cythonizing C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10CythonTempita_tempita.py
Unable to find pgen, not compiling formal grammar.
warning: no files found matching 'Doc*'
warning: no files found matching '*.pyx' under directory 'CythonDebuggerTests'
warning: no files found matching '*.pxd' under directory 'CythonDebuggerTests'
warning: no files found matching '*.pxd' under directory 'CythonUtility'
warning: no files found matching 'pyximportREADME'
Traceback (most recent call last):
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolsmsvc.py", line 489, in _find_latest_available_vc_ver
return self.find_available_vc_vers()[-1]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscore.py", line 148, in setup
dist.run_commands()
File "c:usershussamappdatalocalprogramspythonpython38libdistutilsdist.py", line 966, in run_commands
self.run_command(cmd)
File "c:usershussamappdatalocalprogramspythonpython38libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandbdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandbdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:usershussamappdatalocalprogramspythonpython38libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandinstall_lib.py", line 11, in run
self.build()
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscommandinstall_lib.py", line 107, in build
self.run_command('build_ext')
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:usershussamappdatalocalprogramspythonpython38libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandbuild_ext.py", line 84, in run
_build_ext.run(self)
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscommandbuild_ext.py", line 340, in run
self.build_extensions()
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscommandbuild_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscommandbuild_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandbuild_ext.py", line 205, in build_extension
_build_ext.build_extension(self, ext)
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscommandbuild_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "c:usershussamappdatalocalprogramspythonpython38libdistutils_msvccompiler.py", line 360, in compile
self.initialize()
File "c:usershussamappdatalocalprogramspythonpython38libdistutils_msvccompiler.py", line 253, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolsmsvc.py", line 185, in msvc14_get_vc_env
return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolsmsvc.py", line 843, in __init__
self.si = SystemInfo(self.ri, vc_ver)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolsmsvc.py", line 485, in __init__
self.vc_ver = vc_ver or self._find_latest_available_vc_ver()
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolsmsvc.py", line 492, in _find_latest_available_vc_ver
raise distutils.errors.DistutilsPlatformError(err)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 154, in save_modules
yield saved
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10setup.py", line 228, in <module>
This version of Cython is untested with Kivy. While this version may
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscore.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 1144, in run_setup
run_setup(setup_script, args)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 253, in run_setup
raise
File "c:usershussamappdatalocalprogramspythonpython38libcontextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "c:usershussamappdatalocalprogramspythonpython38libcontextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 166, in save_modules
saved_exc.resume()
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptools_vendorsix.py", line 685, in reraise
raise value.with_traceback(tb)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 154, in save_modules
yield saved
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolssandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:UsersHussamAppDataLocalTempeasy_install-ez_wj3mgCython-0.29.10setup.py", line 228, in <module>
This version of Cython is untested with Kivy. While this version may
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "c:usershussamappdatalocalprogramspythonpython38libdistutilscore.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:UsersHussamAppDataLocalTemppip-install-wmjvsmt5Kivysetup.py", line 1073, in <module>
setup(
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptools__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolsdist.py", line 716, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagespkg_resources__init__.py", line 780, in resolve
dist = best[req.key] = env.best_match(
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagespkg_resources__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagespkg_resources__init__.py", line 1077, in obtain
return installer(requirement)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolsdist.py", line 786, in fetch_build_egg
return cmd.easy_install(req)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 705, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 1158, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "c:usershussamappdatalocalprogramspythonpython38libsite-packagessetuptoolscommandeasy_install.py", line 1146, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
when i was use python 3.7.5 kivy works fine but new is not
Is the problem about the version of python ?
any solution
thanks
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 ?
- Technical FAQ
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
PATHso 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 am trying to download kivy to both cmd and anaconda. In anaconda i have written conda install kivy -c conda-forge but it shows error that
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- kivy
Current channels:
- https://conda.anaconda.org/conda-forge/win-32
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-32
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-32
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-32
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
then I tried python -m pip install kivy to download on cmd and this error had occured
C:Userslycelab4>python -m pip install kivy
Collecting kivy
Using cached https://files.pythonhosted.org/packages/1b/4d/3f8a720f561dc1eabe036c0d87c6ce9d02823275391265538e606f45e37a/Kivy-1.11.1.tar.gz
ERROR: Command errored out with exit status 1:
command: 'C:Userslycelab4AppDataLocalProgramsPythonPython38-32python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\lycelab4\AppData\Local\Temp\pip-install-jwrxtk4h\kivy\setup.py'"'"'; __file__='"'"'C:\Users\lycelab4\AppData\Local\Temp\pip-install-jwrxtk4h\kivy\setup.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:Userslycelab4AppDataLocalTemppip-install-jwrxtk4hkivypip-egg-info'
cwd: C:Userslycelab4AppDataLocalTemppip-install-jwrxtk4hkivy
Complete output (192 lines):
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
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonPlexScanners.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonPlexActions.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerScanning.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerVisitor.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerFlowControl.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonRuntimerefnanny.pyx because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerFusedNode.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonTempita_tempita.py because it changed.
[1/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerFlowControl.py
[2/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerFusedNode.py
[3/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerScanning.py
[4/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerVisitor.py
[5/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonPlexActions.py
[6/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonPlexScanners.py
[7/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonRuntimerefnanny.pyx
[8/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonTempita_tempita.py
Unable to find pgen, not compiling formal grammar.
warning: no files found matching 'Doc*'
warning: no files found matching '*.pyx' under directory 'CythonDebuggerTests'
warning: no files found matching '*.pxd' under directory 'CythonDebuggerTests'
warning: no files found matching '*.pxd' under directory 'CythonUtility'
warning: no files found matching 'pyximportREADME'
Traceback (most recent call last):
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscore.py", line 148, in setup
dist.run_commands()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilsdist.py", line 966, in run_commands
self.run_command(cmd)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandbdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandbdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandinstall_lib.py", line 11, in run
self.build()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandinstall_lib.py", line 107, in build
self.run_command('build_ext')
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandbuild_ext.py", line 84, in run
_build_ext.run(self)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandbuild_ext.py", line 340, in run
self.build_extensions()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandbuild_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandbuild_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandbuild_ext.py", line 205, in build_extension
_build_ext.build_extension(self, ext)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandbuild_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutils_msvccompiler.py", line 360, in compile
self.initialize()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutils_msvccompiler.py", line 253, in initialize
vc_env = _get_vc_env(plat_spec)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsmsvc.py", line 171, in msvc14_get_vc_env
return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsmsvc.py", line 1075, in __init__
self.si = SystemInfo(self.ri, vc_ver)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsmsvc.py", line 547, in __init__
vc_ver or self._find_latest_available_vs_ver())
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsmsvc.py", line 561, in _find_latest_available_vs_ver
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 154, in save_modules
yield saved
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10setup.py", line 228, in <module>
This version of Cython is untested with Kivy. While this version may
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscore.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 1144, in run_setup
run_setup(setup_script, args)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 253, in run_setup
raise
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libcontextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libcontextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 166, in save_modules
saved_exc.resume()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools_vendorsix.py", line 685, in reraise
raise value.with_traceback(tb)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 154, in save_modules
yield saved
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10setup.py", line 228, in <module>
This version of Cython is untested with Kivy. While this version may
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscore.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:Userslycelab4AppDataLocalTemppip-install-jwrxtk4hkivysetup.py", line 1073, in <module>
setup(
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsdist.py", line 717, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagespkg_resources__init__.py", line 780, in resolve
dist = best[req.key] = env.best_match(
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagespkg_resources__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagespkg_resources__init__.py", line 1077, in obtain
return installer(requirement)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsdist.py", line 787, in fetch_build_egg
return cmd.easy_install(req)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 705, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 1158, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 1146, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Please Help Me!
I am trying to download kivy to both cmd and anaconda. In anaconda i have written conda install kivy -c conda-forge but it shows error that
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- kivy
Current channels:
- https://conda.anaconda.org/conda-forge/win-32
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-32
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-32
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-32
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
then I tried python -m pip install kivy to download on cmd and this error had occured
C:Userslycelab4>python -m pip install kivy
Collecting kivy
Using cached https://files.pythonhosted.org/packages/1b/4d/3f8a720f561dc1eabe036c0d87c6ce9d02823275391265538e606f45e37a/Kivy-1.11.1.tar.gz
ERROR: Command errored out with exit status 1:
command: 'C:Userslycelab4AppDataLocalProgramsPythonPython38-32python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\lycelab4\AppData\Local\Temp\pip-install-jwrxtk4h\kivy\setup.py'"'"'; __file__='"'"'C:\Users\lycelab4\AppData\Local\Temp\pip-install-jwrxtk4h\kivy\setup.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:Userslycelab4AppDataLocalTemppip-install-jwrxtk4hkivypip-egg-info'
cwd: C:Userslycelab4AppDataLocalTemppip-install-jwrxtk4hkivy
Complete output (192 lines):
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
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonPlexScanners.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonPlexActions.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerScanning.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerVisitor.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerFlowControl.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonRuntimerefnanny.pyx because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerFusedNode.py because it changed.
Compiling C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonTempita_tempita.py because it changed.
[1/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerFlowControl.py
[2/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerFusedNode.py
[3/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerScanning.py
[4/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonCompilerVisitor.py
[5/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonPlexActions.py
[6/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonPlexScanners.py
[7/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonRuntimerefnanny.pyx
[8/8] Cythonizing C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10CythonTempita_tempita.py
Unable to find pgen, not compiling formal grammar.
warning: no files found matching 'Doc*'
warning: no files found matching '*.pyx' under directory 'CythonDebuggerTests'
warning: no files found matching '*.pxd' under directory 'CythonDebuggerTests'
warning: no files found matching '*.pxd' under directory 'CythonUtility'
warning: no files found matching 'pyximportREADME'
Traceback (most recent call last):
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscore.py", line 148, in setup
dist.run_commands()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilsdist.py", line 966, in run_commands
self.run_command(cmd)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandbdist_egg.py", line 172, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandbdist_egg.py", line 158, in call_command
self.run_command(cmdname)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandinstall_lib.py", line 11, in run
self.build()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandinstall_lib.py", line 107, in build
self.run_command('build_ext')
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilsdist.py", line 985, in run_command
cmd_obj.run()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandbuild_ext.py", line 84, in run
_build_ext.run(self)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandbuild_ext.py", line 340, in run
self.build_extensions()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandbuild_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandbuild_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandbuild_ext.py", line 205, in build_extension
_build_ext.build_extension(self, ext)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscommandbuild_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutils_msvccompiler.py", line 360, in compile
self.initialize()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutils_msvccompiler.py", line 253, in initialize
vc_env = _get_vc_env(plat_spec)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsmsvc.py", line 171, in msvc14_get_vc_env
return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsmsvc.py", line 1075, in __init__
self.si = SystemInfo(self.ri, vc_ver)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsmsvc.py", line 547, in __init__
vc_ver or self._find_latest_available_vs_ver())
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsmsvc.py", line 561, in _find_latest_available_vs_ver
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 154, in save_modules
yield saved
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10setup.py", line 228, in <module>
This version of Cython is untested with Kivy. While this version may
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscore.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 1144, in run_setup
run_setup(setup_script, args)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 253, in run_setup
raise
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libcontextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libcontextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 166, in save_modules
saved_exc.resume()
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools_vendorsix.py", line 685, in reraise
raise value.with_traceback(tb)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 154, in save_modules
yield saved
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 195, in setup_context
yield
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolssandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:Userslycelab4AppDataLocalTempeasy_install-bh76kkizCython-0.29.10setup.py", line 228, in <module>
This version of Cython is untested with Kivy. While this version may
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libdistutilscore.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:Userslycelab4AppDataLocalTemppip-install-jwrxtk4hkivysetup.py", line 1073, in <module>
setup(
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptools__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsdist.py", line 717, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagespkg_resources__init__.py", line 780, in resolve
dist = best[req.key] = env.best_match(
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagespkg_resources__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagespkg_resources__init__.py", line 1077, in obtain
return installer(requirement)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolsdist.py", line 787, in fetch_build_egg
return cmd.easy_install(req)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 705, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 1158, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "C:Userslycelab4AppDataLocalProgramsPythonPython38-32libsite-packagessetuptoolscommandeasy_install.py", line 1146, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Please Help Me!
Уведомления
- Начало
- » Python для новичков
- » Не могу установить фреймворк kivy для питона
#1 Июль 23, 2019 16:54:47
Не могу установить фреймворк kivy для питона
Всем привет ! Я столкнулся с такой проблемой что не могу установить фреймворк для питона (версия 3.7.2)
Когда перешел на сайт фрейма.Делал все точно как по инструкции.Но когда вводил в консоль команду вышла такая ошибка,уже 2 день мучаюсь.Помогите пожалуйста.Ниже прикрепил скриншот с консоли
Прикреплённый файлы:
-f1ploAyTL4.jpg (223,3 KБ)
Офлайн
- Пожаловаться
#2 Июль 24, 2019 02:17:34
Не могу установить фреймворк kivy для питона
Офлайн
- Пожаловаться
#3 Июль 24, 2019 07:02:20
Не могу установить фреймворк kivy для питона
Так я говорю я все делал по этой инфе,и в консоли выходит такая ошибка (ниже прикрепил файл)
Офлайн
- Пожаловаться
#5 Июль 24, 2019 13:24:52
Не могу установить фреймворк kivy для питона
Спасибо ! Я сам нашел способ.Я сначала полностью удалил киви.Потом заного установил.Позже зашел в настройки пайчарма.Танцы с бубном и в итоге все заработало ) Спасибо тебе за внимание и оказанную помощь ! 
Офлайн
- Пожаловаться
- Начало
- » Python для новичков
- » Не могу установить фреймворк kivy для питона
Posted byu/[deleted]3 years ago
level 1
Use python 3.7.
Kivy hasn’t had a release since 3.8 is out, so no point fighting to get it to work until a new release. (Even then I would wait for any bugs to be ironed out)
Lots of major libraries will take months to move to a new major python release (eg. I’m waiting for openCV before upgrading).
level 1
Kivy has updated the latest version on June for Python 3.7 so it’s quite possible for them to release the 3.8 version soon or as a basic solution you may downgrade for Python 3.7
level 1
I am on Python 3.8 and having errors with Kivy installation. Then I found that doing the following works. Don’t ask me why? I am a newbie. But it works:
python -m pip install —upgrade pip wheel setuptools
python -m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew —extra-index-url https://kivy.org/downloads/packages/simple
pip install kivy[base] kivy_examples —pre —extra-index-url https://kivy.org/downloads/simple/
level 2
After 2 hours of banging my head against the wall, this has saved me. Thank you!
level 2
Hello. Super newbie here. Where do I paste these? Console?
Thanks!
Thans
level 2
Works on 3.11. Thank you kind sir.
level 1
I was able to do this with your instructions. Question is, will this work when you want to try and create user interfaces with Python 3.8? I am about to find out.
os : linux(ubuntu 16.04 LTS, 64-bit)
python_version : 3.6.3
- Using virtualenv.
- I tried to install many version of kivy with many different versions of cython but always i got same error which is like below.
- After giving «pip install kivy» this install some packages:
certifi (2017.11.5)
chardet (3.0.4)
Cython (0.26)
docutils (0.14)
idna (2.6)
Kivy-Garden (0.1.4)
pip (9.0.1)
Pygments (2.2.0)
requests (2.18.4)
setuptools (38.4.0)
urllib3 (1.22)
wheel (0.30.0)
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-build-c8ofsvs6/kivy/kivy/include -I/usr/include/python3.6m -I/home/ubuntu/venv/include/python3.6m -c /tmp/pip-build-c8ofsvs6/kivy/kivy/_event.c -obuild/temp.linux-x86_64-3.6/tmp/pip-build-c8ofsvs6/kivy/kivy/_event.o
/tmp/pip-build-c8ofsvs6/kivy/kivy/_event.c:4:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1---------------------------------------- Failed building wheel for kivy Running setup.py clean for kivy Failed to build kivy Installing collected packages: kivy Running setup.py install for kivy ... error Complete output from command /home/ubuntu/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-c8ofsvs6/kivy/setup.py';f=getattr(tokenize,‘open’, open)(file);code=f.read().replace(‘rn’,
‘n’);f.close();exec(compile(code, file, ‘exec’))» install
—record /tmp/pip-vcdy_iv_-record/install-record.txt —single-version-externally-managed —compile —install-headers /home/ubuntu/venv/include/site/python3.6/kivy:
Using distutils
and last
> > Detected compiler is unix
> > skipping '/tmp/pip-build-c8ofsvs6/kivy/kivy/_event.c' Cython extension (up-to-date)
> > building 'kivy._event' extension
> > creating build/temp.linux-x86_64-3.6
> > creating build/temp.linux-x86_64-3.6/tmp
> > creating build/temp.linux-x86_64-3.6/tmp/pip-build-c8ofsvs6
> > creating build/temp.linux-x86_64-3.6/tmp/pip-build-c8ofsvs6/kivy
> > creating build/temp.linux-x86_64-3.6/tmp/pip-build-c8ofsvs6/kivy/kivy
> > x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-build-c8ofsvs6/kivy/kivy/include -I/usr/include/python3.6m -I/home/ubuntu/venv/include/python3.6m -c /tmp/pip-build-c8ofsvs6/kivy/kivy/_event.c -o
> > build/temp.linux-x86_64-3.6/tmp/pip-build-c8ofsvs6/kivy/kivy/_event.o
> > /tmp/pip-build-c8ofsvs6/kivy/kivy/_event.c:4:20: fatal error: Python.h: No such file or directory
> > compilation terminated.
> > error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
> >
> > ---------------------------------------- Command "/home/ubuntu/venv/bin/python3 -u -c "import setuptools,
> > tokenize;__file__='/tmp/pip-build-c8ofsvs6/kivy/setup.py';f=getattr(tokenize,
> > 'open', open)(__file__);code=f.read().replace('rn',
> > 'n');f.close();exec(compile(code, __file__, 'exec'))" install
> > --record /tmp/pip-vcdy_iv_-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubuntu/venv/include/site/python3.6/kivy" failed with error code
> > 1 in /tmp/pip-build-c8ofsvs6/kivy/
- I have also tried with cython 0.25.2
|
0 / 0 / 0 Регистрация: 02.08.2022 Сообщений: 4 |
|
|
1 |
|
|
03.08.2022, 21:57. Показов 555. Ответов 7
Добрый день. Создайте виртуальную среду с именем kivy_venvв вашем текущем каталоге: python -m virtualenv kivy_venv», когда я вставляю «python -m virtualenv kivy_venv», то у меня вылезает текст » «-m» не является внутренней или внешней
__________________
0 |
|
Автоматизируй это!
6431 / 4130 / 1133 Регистрация: 30.03.2015 Сообщений: 12,223 Записей в блоге: 29 |
|
|
04.08.2022, 06:05 |
2 |
|
гггг, добавь скрин командной строки -посмотреть как ты это написал
1 |
|
0 / 0 / 0 Регистрация: 02.08.2022 Сообщений: 4 |
|
|
04.08.2022, 12:33 [ТС] |
3 |
|
По поводу этой строки проблем больше нет(она буквально решилась сама по себе : /), но теперь другая строка выдаёт туже ошибку
0 |
|
Автоматизируй это!
6431 / 4130 / 1133 Регистрация: 30.03.2015 Сообщений: 12,223 Записей в блоге: 29 |
|
|
04.08.2022, 12:45 |
4 |
|
очевидно что неверно пишешь опять пробел добавил из-за чего наверное и прошлая ошибка была. Как в инструкции то написано? ничего не пропустил?
0 |
|
0 / 0 / 0 Регистрация: 02.08.2022 Сообщений: 4 |
|
|
04.08.2022, 12:58 [ТС] |
5 |
|
«Активируйте виртуальную среду. Вам нужно будет выполнить этот шаг из текущего каталога каждый раз, когда вы запускаете новый терминал. Это настраивает среду, так что новый kivy_venv Используется Python. Для Windows CMD по умолчанию командной строке выполните: kivy_venvScripts activate source kivy_venv/Scripts/activate source kivy_venv/bin/activate»
0 |
|
Автоматизируй это!
6431 / 4130 / 1133 Регистрация: 30.03.2015 Сообщений: 12,223 Записей в блоге: 29 |
|
|
04.08.2022, 13:06 |
6 |
|
гггг, хосспаде какие то переводы непонятные, ты открой просто документацию питона и посмотри как активировать на виндовс венв https://docs.python.org/3/tuto… t=activate kivy_venvScriptsactivate.bat надо запустить а как велики твои знания питона? я спрашиваю ибо если ты с венв впервые сталкиваешься, то как собрался писать приложения? Основы уже надежно усвоены?
0 |
|
0 / 0 / 0 Регистрация: 02.08.2022 Сообщений: 4 |
|
|
04.08.2022, 13:24 [ТС] |
7 |
|
Я не так давно на Python, изучил команды для оконных приложений, работал с помощью tkinter, вызывать само оконное приложение, разместить на ней кнопки, Лэйблы, устанавливать цвет окна. менять иконку. название окна и т.п. и в каком-то ролике услышал. что лучше всего пользоваться Kivy. так как он удобнее для оконных приложений и вот я здесь. Просто я хочу заниматься разработкой приложений, как компьютерных. так и на телефоны. До Пайтона я сидел в Visual studio писал на языке C#, но сам Visual потребовал от меня ключа активации и я пытался найти этот ключ и установить. но ничего так и не получилось, поэтому я и решил начать изучать что то новое
0 |
|
701 / 340 / 120 Регистрация: 09.12.2020 Сообщений: 920 |
|
|
05.08.2022, 14:37 |
8 |
|
начать изучать новый язык из за истекшей лицензии на IDE — новый уровень.
3 |
|
IT_Exp Эксперт 87844 / 49110 / 22898 Регистрация: 17.06.2006 Сообщений: 92,604 |
05.08.2022, 14:37 |
|
8 |