无法从 PyCharm 或在 PyCharm 中安装 Kivy

问题描述 投票:0回答:0

Win 10 专业版(64 位)、Python 3.6.0、Pyhon 2017.1、Cython 版本 0.23、Visual Studio 2015

我无法从 PyCharm(设置/项目解释器)中安装 Kivy,并且尝试了一些方法,例如: - 安装 Visual Studio 2015 - 安装 Cython 0.23 我在另一篇文章中读到了“轮子”的使用(我无法使用 py3.5 在 Windows 10 上安装 kivy),但是有人可以告诉我如何将其应用到 PyCharm 吗?

错误消息下方:

收集猕猴桃 使用缓存的 kivy-1.9.1.tar.gz 已满足要求:c:\users\Stal\just acial django project\lib\site-packages 中的 Kivy-Garden>=0.1.4 (来自 Kivy) 已满足要求: c:\users\Stal\just acial django project\lib\site-packages 中的请求(来自 Kivy-Garden>=0.1.4->Kivy) 安装收集的包:Kivy 运行 Kivy 的 setup.py install:开始 为 Kivy 运行 setup.py install:已完成,状态为“错误” 命令 "C:\Users\Stal\Just atrial Django project\Scripts\python.exe" -u -c "import setuptools, tokenize;file='C:\Users\Stal\AppData\Local\Temp 的完整输出\pycharm-packaging\Kivy\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace(' ',' ');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-043s8ql1-record\install- record.txt --single-version-externally-management --compile --install-headers "C:\Users\Stal\Just acial Django项目\include\site\python3.6\Kivy": 使用 distutils

Detected Cython version 0.23
User distribution detected, avoid portable command.
Windows platform detected, force GLEW usage.
Using this graphics system: OpenGL
WARNING: A problem occured while running pkg-config --libs --cflags gstreamer-1.0 (code 1)

b"'pkg-config' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n"

WARNING: A problem occured 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,\r\noperable program or batch file.\r\n"

running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\kivy
copying kivy\animation.py -> build\lib.win-amd64-3.6\kivy
copying kivy\app.py -> build\lib.win-amd64-3.6\kivy
copying kivy\atlas.py -> build\lib.win-amd64-3.6\kivy
copying kivy\base.py -> build\lib.win-amd64-3.6\kivy

[…………为简洁起见进行编辑…………] 复制基夫

python-3.x pycharm kivy
© www.soinside.com 2019 - 2024. All rights reserved.