Home >Development Tools >VSCode >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
Then enter:
.\pip install 库名
For example, if I want to install a library named "requests", just enter:
.\pip install requests
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!