Home > Backend Development > Python Tutorial > How to install python third-party package in vs2017

How to install python third-party package in vs2017

Release: 2019-06-25 11:12:19
Original
4792 people have browsed it

How to install python third-party package in vs2017

vs2017 has an independent python environment; so if you want to develop python in vs2017 and use third-party packages, you need to operate in vs2017 and complete the installation of third-party packages.

First, check which versions of python are available in vs2017 and which version are you currently using

Tools--"Python--"Python environment

You can see what versions of vs2017 include python version.

How to install python third-party package in vs2017

Check the python version of the current solution

How to install python third-party package in vs2017

## 2. Download the corresponding version of pygame

Download address: https://www.pygame.org/download.shtml

If you do not find the version corresponding to the system, find another download address:

https://www.lfd.uci. edu/~gohlke/pythonlibs/#pygame

3. Instructions to install whl package

1. Open PowerShell

In the python environment interface, select the python you want to operate version, click "Start PowerShell"

How to install python third-party package in vs2017

2. Enter the installation command

pip install pygame-1.9.3-cp36-cp36m-win32.whl

Note: Please enter the absolute path of the whl file, starting from the drive letter; C://***/***/pygame-1.9.3-cp36-cp36m-win32.whl

For more Python-related technical articles, please visit the

Python tutorial column to learn!

The above is the detailed content of How to install python third-party package in vs2017. 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