How to install qpython3 library

爱喝马黛茶的安东尼
Release: 2019-06-18 11:13:34
Original
23406 people have browsed it

A powerful tool for learning Python in fragmented time: QPython. This is a software that can run Python on your Android phone. You can practice Python anytime and anywhere on the subway, bus, or even in boring meetings.

QPython is a general name. In fact, it is divided into two types, namely QPython and QPython3, which support Python2 and Python3 respectively.

How to install qpython3 library

Installing third-party libraries

The reason why Python is powerful is that in addition to its convenient and easy-to-use statements, many of its third-party libraries are A very big reason. QPython can install and use third-party libraries in three ways. But please note: if there are c/ files in the library you install that need to be compiled, it will fail because the compilation chain tool cannot be found.

Related recommendations: "Python Video Tutorial"

1. Manually install the library

You can copy the library to the device /sdcard/qpython/lib/python2.7/site-packages.

2. Install from QPypi

Install some pre-built libraries from QPypi, such as numpy, tornado, etc. The specific operations are as follows:

https://v.qq.com/x/cover/m0559ni8aau/m0559ni8aau.html

3. Install from Pypi

After clicking, you enter the pypi command interface, which calls the pypi tool to allow you to install it by yourself. You only need to enter the pip command, such as pipinstall[HTML_REMOVED] and other statements to install the library. However, it should be noted that currently Libraries with c/c files that need to be edited cannot be installed because Android does not have a toolchain available for compilation by default.

The following is an example of installing the requests library:

https://v.qq.com/x/cover/z0559o6zn5b/z0559o6zn5b.html

The above is the detailed content of How to install qpython3 library. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!