Installation and use of Python-easy_install

Source: Internet
Author: User
    1. Why are you pretending to be easy_install?
      Normally, we would like to install a third-party expansion pack for Python, we must download the package, unzip it to a directory, then command line or terminal to open the directory, and then execute
      Python setup.py Install
      To install them.
      Is this very cumbersome? If we direct the command line to execute
      Easy_install Twisted
      The latest version of the twisted packaging up, is not very cool?
      So Easy_install is just for us. It's easier to install a third-party expansion pack
    2. How to install Easy_install?
      First download the Easy_install installation package:
      Http://pypi.python.org/pypi/setuptools
      Download the corresponding version, Windows directly run EXE installed on it
      Linux can be run directly above
      SH Setuptools-0.6c9-py2.4.egg
      Once the installation is complete, Easy_install will be automatically copied to the Bin directory, which is our path path, so we can run the Easy_install command directly in the terminal.
      Easy_install Twisted
      Test it and see if it works.
    3. Common problems
      When installing the package, whether manually installed or Easy_install, if the prompt error: Python.h file is not found, it means that we installed Python is not a development version, the following solutions in Ubuntu are as follows:
      sudo apt-get install Python-2.7-dev
      Install the version of Dev that corresponds to Python.

Installation and use of Python-easy_install

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.