VS2019 Python steps to install third-party modules using the pip command

Here we take NumPy as an example to illustrate the steps of using the pip command to install third-party modules in vs2019

1. Right-click the Python environment  of the solution manager in the project and select View All Python Environments

2. Select Overview , select Open in PowerShell

 3. Enter the command in PowerShell to download NumPy

 (Here is the mirror Numpy on the website of the University of Science and Technology of China)

pip install --index https://pypi.mirrors.ustc.edu.cn/simple/ pandas

Then press Enter to run

 For more pip instructions, please install and use Baidu Python pip

Guess you like

Origin blog.csdn.net/lifesize/article/details/126474057