windows-python3.8.5安装kivy2.3.0

我的电脑信息是win10,64位系统:
OS 名称:Microsoft Windows 10 专业版
系统类型:x64-based PC

总共就3条命令

pip3.8 install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
pip3.8 install kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/
python38 -m pip install kivy

以下是完整的安装日志:

C:\Users\rkey>pip3.8 install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew
Collecting docutils
  Downloading docutils-0.20.1-py3-none-any.whl (572 kB)
     |████████████████████████████████| 572 kB 1.1 MB/s
Collecting pygments
  Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB)
     |████████████████████████████████| 1.2 MB 6.8 MB/s
Collecting pypiwin32
  Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)
Collecting kivy.deps.sdl2
  Downloading kivy_deps.sdl2-0.8.0-cp38-cp38-win_amd64.whl (4.2 MB)
     |████████████████████████████████| 4.2 MB ...
Collecting kivy.deps.glew
  Downloading kivy_deps.glew-0.3.1-cp38-cp38-win_amd64.whl (123 kB)
     |████████████████████████████████| 123 kB ...
Collecting pywin32>=223
  Downloading pywin32-308-cp38-cp38-win_amd64.whl (6.6 MB)
     |████████████████████████████████| 6.6 MB ...
Installing collected packages: docutils, pygments, pywin32, pypiwin32, kivy.deps.sdl2, kivy.deps.glew
Successfully installed docutils-0.20.1 kivy.deps.glew kivy.deps.sdl2 pygments-2.18.0 pypiwin32-223 pywin32-308
WARNING: You are using pip version 20.1.1; however, version 24.3.1 is available.
You should consider upgrading via the 'c:\application\python\python38\python.exe -m pip install --upgrade pip' command.

C:\Users\rkey>pip3.8 install kivy.deps.gstreamer --extra-index-url https://kivy.org/downloads/packages/simple/
Looking in indexes: https://pypi.org/simple, https://kivy.org/downloads/packages/simple/
Collecting kivy.deps.gstreamer
  Downloading kivy_deps.gstreamer-0.3.4-cp38-cp38-win_amd64.whl (141.2 MB)
     |████████████████████████████████| 141.2 MB 6.4 MB/s
Installing collected packages: kivy.deps.gstreamer
Successfully installed kivy.deps.gstreamer
WARNING: You are using pip version 20.1.1; however, version 24.3.1 is available.
You should consider upgrading via the 'c:\application\python\python38\python.exe -m pip install --upgrade pip' command.

python38 -m pip install kivy
Collecting kivy
  Downloading Kivy-2.3.0-cp38-cp38-win_amd64.whl (4.6 MB)
     |████████████████████████████████| 4.6 MB 1.1 MB/s
Collecting Kivy-Garden>=0.1.4
  Downloading Kivy_Garden-0.1.5-py3-none-any.whl (4.6 kB)
Requirement already satisfied: docutils in c:\application\python\python38\lib\site-packages (from kivy) (0.20.1)
Requirement already satisfied: kivy-deps.glew~=0.3.1; sys_platform == "win32" in c:\application\python\python38\lib\site-packages (from kivy) (0.3.1)
Collecting kivy-deps.sdl2~=0.7.0; sys_platform == "win32"
  Downloading kivy_deps.sdl2-0.7.0-cp38-cp38-win_amd64.whl (3.5 MB)
     |████████████████████████████████| 3.5 MB ...
Requirement already satisfied: pygments in c:\application\python\python38\lib\site-packages (from kivy) (2.18.0)
Requirement already satisfied: pypiwin32; sys_platform == "win32" in c:\application\python\python38\lib\site-packages (from kivy) (223)
Collecting kivy-deps.angle~=0.4.0; sys_platform == "win32"
  Downloading kivy_deps.angle-0.4.0-cp38-cp38-win_amd64.whl (5.1 MB)
     |████████████████████████████████| 5.1 MB ...
Requirement already satisfied: requests in c:\application\python\python38\lib\site-packages (from Kivy-Garden>=0.1.4->kivy) (2.32.3)
Requirement already satisfied: pywin32>=223 in c:\application\python\python38\lib\site-packages (from pypiwin32; sys_platform == "win32"->kivy) (308)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\application\python\python38\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy) (3.4.0)
Requirement already satisfied: idna<4,>=2.5 in c:\application\python\python38\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy) (3.10)
Requirement already satisfied: certifi>=2017.4.17 in c:\application\python\python38\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy) (2024.8.30)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\application\python\python38\lib\site-packages (from requests->Kivy-Garden>=0.1.4->kivy) (2.2.3)
Installing collected packages: Kivy-Garden, kivy-deps.sdl2, kivy-deps.angle, kivy
  Attempting uninstall: kivy-deps.sdl2
    Found existing installation: kivy-deps.sdl2 0.8.0
    Uninstalling kivy-deps.sdl2-0.8.0:
      Successfully uninstalled kivy-deps.sdl2-0.8.0
Successfully installed Kivy-Garden-0.1.5 kivy-2.3.0 kivy-deps.angle-0.4.0 kivy-deps.sdl2-0.7.0
WARNING: You are using pip version 20.1.1; however, version 24.3.1 is available.
You should consider upgrading via the 'C:\application\Python\Python38\python38.exe -m pip install --upgrade pip' command.

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注