How to install the package with setup.py in python

(*-*)浩
Release: 2019-07-09 10:31:18
Original
5854 people have browsed it

This article mainly introduces how to install the python installation module through setup.py. The installation method is actually very simple.

How to install the package with setup.py in python

Sometimes we find that some modules do not provide the pip install command and installation tutorial, but only provide a setup.py file. How to install it at this time? (Recommended learning: Python video tutorial)

How to install the package with setup.py in python

Steps

Open cmd to reach the installation directory

python setup .py build

python setup.py install

Installation completed

For more Python related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of How to install the package with setup.py in python. 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