Python Development Android and iOS app library Kivy installation attempt

Source: Internet
Author: User
Tags virtual environment gstreamer

Python Development Android and iOS app library Kivy installation attempt:

Let's take a look at what the goods can be used to make:

    1. Create a package for Windows
    2. Create a package for Android
    3. Creating Packages for OS X
    4. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.