Home > Development Tools > VSCode > Missing libraries when using python with vscode in ubuntu

Missing libraries when using python with vscode in ubuntu

王林
Release: 2020-02-12 13:37:42
Original
3542 people have browsed it

Missing libraries when using python with vscode in ubuntu

First find the pip.exe file. Mine has this file after installing the official python3.7. The path is
C:\Users\xp\AppData\Local \Programs\Python\Python37\Scripts

Then open cmd and enter the path to the file

cd C:\Users\xp\AppData\Local\Programs\Python\Python37\Scripts
Copy after login

Missing libraries when using python with vscode in ubuntu

Then enter:

.\pip install 库名
Copy after login

For example, if I want to install a library named "requests", just enter:

.\pip install requests
Copy after login

and then wait for the installation to complete.

Recommended related articles and tutorials: vscode tutorial

The above is the detailed content of Missing libraries when using python with vscode in ubuntu. 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