Python Development Android and iOS app library Kivy installation attempt:
Let's take a look at what the goods can be used to make:
- Create a package for Windows
- Create a package for Android
- Creating Packages for OS X
- Create a package for IOS
The rhythm of the day, Ah, although the 600+ page of the English document, python3+ still on the "the", I think the potential of the goods.
Of course, the disadvantage is to install a variety of environmental dependencies, especially under the Win7 platform, it is estimated to be more annoyed, you can slowly try.
Installation¶ (Installation)
Now this Python is installed, open the Command line and make sure Python are available by typing python--version. Then, do the following to install. (First you want to make sure Python is installed, open win+r Open command, make sure Python is running under 2.7, and follow the steps.) In addition, it is recommended to set up a virtual environment for development, the benefits will not be discussed; The reason for using python2.7 is that the high version of Python is not supported when creating an Android app. Ensure you have the latest Pip and wheel: (make sure you are installing the latest PIP and wheel)
python-m pip install--upgrade pip wheel Setuptools
Install the Dependencies (skip GStreamer (~90MB) if not needed, see Kivy ' s Dependencies): (Installation Environment dependent: GStreamer This goods about 90M, mainly used to call Camera, video and other devices or play, encountered the want to install again, after all, at the current stage of testing water
python-m pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew kivy.deps.gstreamer--extra-index-url htt ps://kivy.org/downloads/packages/simple/
(Bright this thing installs with Flask's extension is a thought, can also use Requirements.txt bar) Install Kivy:
python-m pip Install Kivy
(Install Kivy) that's it. You should now is able to the import Kivy in Python. (Can try to import under Python, there will be 3 friendly warning to see) notei (note) If you encounter a NY permission denied errors, try opening the Command prompt as administrator and trying again. (if there are any moths in the middle of the installation, it is recommended to switch to Administrator privileges, Do the above operation, PS I install no problem, character is OK! )
Python to develop Android and iOS app library Kivy installation attempts