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 install
persists 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: