我安装Kivy时遇到问题。 尝试安装后,我收到错误消息。
日志内容:
[INFO ] Logger: Record log in C:\Users\Moff\.kivy\logs\kivy_20-05-03_3.txt
[INFO ] deps: Successfully imported "kivy_deps.gstreamer" 0.2.0
[INFO ] deps: Successfully imported "kivy_deps.angle" 0.2.0
[INFO ] deps: Successfully imported "kivy_deps.glew" 0.2.0
[INFO ] deps: Successfully imported "kivy_deps.sdl2" 0.2.0
[INFO ] Kivy: v2.0.0rc2, git-Unknown, 20200503
[INFO ] Kivy: Installed at "C:\Users\Moff\AppData\Local\Temp\pip-req-build-x_c9hiwi\kivy\__init__.py"
[INFO ] Python: v3.8.3rc1 (tags/v3.8.3rc1:802eb67, Apr 29 2020, 21:39:14) [MSC v.1924 64 bit (AMD64)]
[INFO ] Python: Interpreter at "C:\Program Files\Python38\python.exe"
[WARNING] stderr: error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
我认为,错误点缺少C ++,但是我已经安装了它。
我正在尝试通过命令安装Kivy:
python -m pip install --no-use-pep517 https://github.com/kivy/kivy/archive/master.zip
我不知道如何克服这个问题。
感谢您的帮助