Setting up Kivy with various popular IDE's - darkopevec/kivy GitHub Wiki
- Setting up Kivy with PyCharm on Windows
- Setting up Kivy with PyCharm on OSX
- KV Lang Auto-completion and Highlighting
- Other IDE's
As of 1.9.1, Kivy now installs into your normal Python interpreter, so installation on Windows is really straightforward.
- Install Kivy for Windows according to these instructions.
- Create/open your project in PyCharm
That's normally all that is required. If you have multiple Python interpreters, you may need to select the one that you installed Kivy into.
- File -> Settings -> Project -> Project Interpreter
- Click the settings symbol to the right of the project interpreter drop down and select the appropriate interpreter.
That's it. Enjoy Kivy.
We recommend installing and using homebrew to install Kivy. This is done using the Terminal on your Mac. The instructions here should be typed or pasted into an open terminal command prompt.
Please note that some of these lines are long and should be copied and pasted in one go, even though the page here might show them word-wrapped.
For installation methods other than using brew and pip, please see the instructions on the appropriate websites.
- Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install Python 3
brew install python3
or Python 2
brew install python
- Install Kivy (Merging with instructions from: https://kivy.org/docs/installation/installation-osx.html). Note that if you are using Python 2, replace 'pip3' below with 'pip'.
brew install hg sdl sdl2 sdl2_image sdl2_ttf sdl2_mixer gstreamer
pip3 install --upgrade pip
pip3 install cython
USE_OSX_FRAMEWORKS=0 pip3 install kivy
PyCharm should pick up your default Python interpreter, which now (hopefully) has Kivy installed in it as a module.
You can check what modules you have installed in the settings: File -> Settings -> Project -> Project Interpreter
Instructions for setting up older version Pycharm and Kivy can be found here.
Xuton has kindly developed a file type extension that gives you full syntax highlighting and auto-completion for KV files.
To install:
- Download this file https://github.com/Zen-CODE/kivybits/blob/master/IDE/PyCharm_kv_completion.jar?raw=true
- On Pycharm’s main menu, click File -> Import (or Import Settings)
- Select the jar file you just downloaded and PyCharm will present a dialog with filetypes ticked. Click OK.
- Restart PyCharm for the changes to take effect.
- How to use Python Tools for Visual Studio to develop and run Kivy Applications
- kivy-eclipse-and-pydev-also-pypy
- How to Set up Wing IDE for Kivy on Windows
- Kv language definition file for gedit
- In the eric6 IDE select the menu item
Plugins->Plugin Repository
and then selectProject, Kivy
and then click onDownload & Install
button.