install pip linux

Use python expand under VS code, usually prompted to install pip.

pip is a modern, generic Python package management tool. Python provides a lookup of the packet, download, install, uninstall function.


Installation pip
using the following script:

wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
pip -V #查看pip版本




Another: If VS code appears in appears Linter pylint is not installed, click installpersists after There is no Pip installer available in the selected environment.balloon:
to Ubuntu18.04, for example, comes with Python 2.7.15+, there python3 in premise (if not python3 need to manually install), also you need to install the relevant python3 pip package, use the following command:

sudo apt install python3-pip



Reference solutions:

  1. https://www.tecmint.com/install-pip-in-linux/
  2. https://www.jianshu.com/p/efc1c2752b4d

Guess you like

Origin www.cnblogs.com/iyanhang/p/11621109.html