termux configuration python development environment

1. Installation Python
(. 1) and upgrade installation python2 pip:

$ pkg install python2 -y
...
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-18.1 setuptools-40.6.2
$ python2 -m pip install --upgrade pip 

(2) the installation and upgrade python3 pip (python version is not specified, the default installation python3)
Note : python2 New Year's Day in 2020, will cease to maintain, so try to use python3 development.

$ pkg install python -y
……
Reading state information... Done
python is already the newest version (3.7.4-1).
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
$ python -m pip install --upgrade pip    
……
Successfully uninsta

Guess you like

Origin blog.csdn.net/qq_41490561/article/details/104617232