Answer the question
In order to leave comments, you need to log in
Subprocess error while installing Kivy on Windows. What to do?
I tried to install Kivy via pip according to the instructions from the official site, however, when I try to install, the console gives the following error:
(kivy_venv) C:\Users\User>python -m pip install kivy[base]
Collecting kivy[base]
Using cached Kivy-2.0.0.tar.gz (23.7 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Collecting setuptools
Using cached setuptools-60.8.0-py3-none-any.whl (1.1 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting cython!=0.27,!=0.27.2,<=0.29.21,>=0.24
Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
Collecting kivy_deps.gstreamer_dev~=0.3.1
Using cached kivy_deps.gstreamer_dev-0.3.3-cp310-cp310-win_amd64.whl (3.9 MB)
ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2_dev~=0.3.1 (from versions: 0.4.2, 0.4.3, 0.4.4)
ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.3.1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
(kivy_venv) C:\Users\User>python -m pip install kivy[base] kivy_examples --no-binary kivy
Collecting kivy[base]
Using cached Kivy-2.0.0.tar.gz (23.7 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [10 lines of output]
Collecting setuptools
Using cached setuptools-60.8.0-py3-none-any.whl (1.1 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting cython!=0.27,!=0.27.2,<=0.29.21,>=0.24
Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
Collecting kivy_deps.gstreamer_dev~=0.3.1
Using cached kivy_deps.gstreamer_dev-0.3.3-cp310-cp310-win_amd64.whl (3.9 MB)
ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2_dev~=0.3.1 (from versions: 0.4.2, 0.4.3, 0.4.4)
ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.3.1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Answer the question
In order to leave comments, you need to log in
Если это важно, у меня стоитОчень рады за вас
ERROR: Could not find a version that satisfies the requirement kivy_deps.sdl2_dev~=0.3.1 (from versions: 0.4.2, 0.4.3, 0.4.4)
ERROR: No matching distribution found for kivy_deps.sdl2_dev~=0.3.1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question