How to install python pip / pip in Android vShell (virtual shell) #rajbhx

How to install python pip / pip in Android vShell (virtual shell)


what is python

Python is a highly interpreted general purpose programming language. The design philosophy emphasizes code readability with a significant footprint. Its linguistic constructs, as well as its objective approach, aim to help programmers write clear and logical code for small-scale projects.

what is pip

pip is a package management system written in Python used to install and manage software packages. It joins the online repository of public packages called the Python Package Index. pip can also be configured to join other package repositories, as long as it complies with Python Enhancement Proposal 503.

Problem.


You want to install pip3 (also called python3-pip) on Android vShell (virtual shell), but running apk install python3-pip shows that the package is missing.

like this


/ # apk add python3-pip
ERROR: unable to select packages:
  python3-pip (no such package):
    required by: world[python3-pip]


Solution:


You need to install py3-pip instead using

apk add py3-pip

Example output:

/ # apk add py3-pip
(1/35) Installing libbz2 (1.0.8-r1)
(2/35) Installing expat (2.2.10-r1)
(3/35) Installing libffi (3.3-r2)
[...]

Post a Comment

Previous Post Next Post