简体   繁体   English

如何在Windows上安装Kivy?

[英]How to install Kivy on Windows?

I have downloaded the package 'Kivy-1.9.0-py3.4-win32-x64' from their website. 我已经从他们的网站下载了软件包“ Kivy-1.9.0-py3.4-win32-x64”。 I extracted it and gives me a folder with gstreamer, kivy34, MinGW, etc. As I have searched to some tutorials I clicked the kivy-3.4.bat file to set the paths. 我解压缩了它,并给了我一个包含gstreamer,kivy34,MinGW等的文件夹。在搜索某些教程时,我单击了kivy-3.4.bat文件来设置路径。 Now I'm lost, what to do next? 现在我迷路了,下一步该怎么办?

I wanted to do Kivy applications through Python IDLE. 我想通过Python IDLE做Kivy应用程序。 Help! 救命!

Make sure you have PIP installed (it gives the option to install when you download python). 确保已安装PIP(下载python时,它提供了安装选项)。 Then, open a command shell (CMD on Windows; enter the search bar and type in 'cmd') and type pip install kivy . 然后,打开命令外壳(在Windows上为CMD;进入搜索栏并输入'cmd'),然后键入pip install kivy

Some would recommend setting up a virtualenv and stuff but as a quick answer this should work. 有些人会建议设置一个virtualenv和东西,但是作为一个快速答案,这应该可以工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM