This article describes the content of the Setuptools framework, a PEAK project that provides a simpler package management and publishing capability than distutils.Start
Setuptools modules are very "evasive". For example, if we download a package that uses setuptools instead of a distutils build, then the installation should work as we would like to do: usually u
This article describes the content of the Setuptools framework, which is a sub-project of PEAK, which provides simpler package management and distribution capabilities than distutils.
Start
The Setuptools module is very "evasive". For example, if we download a package built using Setuptools instead of Distutils, then the installation should work just as we woul
preparatory work
1. Install Python2. Install NumPy3. Set the python environment variable, the system environment variable path after adding C:\Python27; C:\Python27\Scripts Installation Setuptools
Using ez_setup.py automatic installation, save the end code for this page as a "ez_setup.py" file, and double-click to complete the installation automatically. Execute the easy_install command, the following resu
This article mainly introduces how to generate egg under the setuptools framework of Python. This article is from the official IBM Developer Technical Documentation. if you need it, you can refer to this article to introduce the content of the setuptools framework, it is a secondary project of PEAK and provides more simple package management and release functions
A setuptools and a easy_installSetuptools:setuptools is an enhanced tool for Python's distutils tools developed by the peak (Python Enterprise application Kit) to make it easier for programmers to create and publish Python's egg package, especially those that have dependencies on other packages. Packages created and published by Setuptools appear to be no differe
Windows+linux Installing the Python tool setuptoolsSetuptools is a sub-project of the Python Enterprise Application Kit (PEAK), which is an enhanced tool for Python's distutilsde tools (for Python 2.3.5 or later, 64 Bit platforms are available for Python version 2.4 or more, making it easier for programmers to create a
http://luojinghappy.blog.51cto.com/683032/1629661
Installing Apt-get Install PYTHON-PIP encounters the following issues.
root@saltstackminion:~# Apt-get Install Python-pipReading Package Lists ... DoneBuilding Dependency TreeReading state information ... DoneSome packages could is not installed. This may mean so you haveRequested an impossible situation or if you are using the unstableDistribution that
Mysql-python is a third-party module library for Python to access the MySQL database;The following error occurred during the installation process:[[email protected] mysql-python-1.2.5]# python setup.py installTraceback (most recent):File "setup.py", line 7, Import SetuptoolsImporterror:no module named SetuptoolsIt lite
the version of Python that was just installed:As shown above, the Python interpreter under/usr/local/python2.7 can be accessed by direct execution of python2.7, which is the Python 2.7.3, which is the version of Python we just downloaded, or can be ordered by:Python2.7-v to view. This completes the
Regular contacts with Python may notice that the Easy_install command may be used when a third-party Python package needs to be installed. Easy_install is a command from the Setuptools package developed by the Peak (Python Enterprise application kit), so use Easy_ The install is actually calling
The Easy_install command may be used in Python when you need to install a Third-party python package. Easy_install is a command from the Setuptools package developed by Peak (Python Enterprise application kit), so use Easy_ Install is actually calling Setuptools to complete
As a Python standard packaging and distribution tool, Setuptools can be said to be quite simple to use. It will be installed on your machine along with Python. You just need to write a short setup.py installation file to pack your Python appFirst, if you need to install setuptools
Prompt for error when downloading and installing a Python tool no module named Setuptools[[Email protected] Supervisor-3.3.0]$ sudo python setup. PY installtraceback (most recent call last file "setup.py" , line 32, module> from Setuptools import Setup, Find_packagesimporterror : no module named
-ZXVF pip-1.5.4.tar.gzCD pip-1.5.4chmod +x setup.py# python setup.py InstallThe error is as follows:Traceback (most recent):File "setup.py", line 6, From Setuptools import Setup, find_packagesImporterror:no module named SetuptoolsTip There is no setuptools module, you need to install the Setuptools module first,The fin
Python installation module error (Importerror:no module named setuptools) workaround(
Statements were
Python's third-party module typically comes with setup.py files, and in a Windows environment we only need to use commandsCD C:\Temp\fooPython setup.py InstallTwo commands to complete the installation of the third-party module. The first CD command will currently switch to t
Original article: Click to open the link
0. What is setuptools
Setuptools is a collection of Python distutils enhancements that can help us create and distribute Python packages more simply, especially with dependencies. When a user creates a package using Setuptools, ther
I recently wrote a python magic lamp generator. We can see that many python libraries are installed with setup. py and easy_install, So we plan to try it out. I tried to find it extremely simple. So take some notes.Reference articles:• Setuptools developer documentation• Cute Python: Use
When installing the Python environment, you will also need to install "Setuptools and Pip", but there are several issues when installing Setuptools, as follows:Setuptools and Pip are as follows:Https://pypi.Python.org/pypi/setuptoolsHttps://pypi.Python.org/pypi/pipInstall after decompression.Install Setuptools, execute
When I first started learning Python, I used easy_install, setuptools, and pip and distribute in reading the document and other blogs to introduce the installation packages. What is the relationship between these tools, you can see the figure below.
We can see that distribute is replaced by setuptools, while pip is replaced by easy_install.
For more information
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.