Home  >  Article  >  Backend Development  >  How to install the package with setup.py in python

How to install the package with setup.py in python

(*-*)浩
(*-*)浩Original
2019-07-02 11:53:515743browse

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!

Statement:
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