Python Package Manager Easy_install

Source: Internet
Author: User

    1. The first is to install python2.7
      Download your python, according to your own needs to choose, here I choose is python2.7, this best can download the source code, and then compile the installation. The process is simple, you can refer to my previous article. Here the main introduction easy_install , with Easy_install to manage the expansion of Python is very convenient, where these extensions can be installed through the source code, but with Easy_insall will be faster. Here is the value of the installation on Linux, more installation methods can refer to this link, inside yo detailed instructions. If the command does not work properly, you can make a few modifications, take some unimportant, and try again.

    2. Installing Easy_install
      You can use this command to install Easy_install. It should be explained that the last Python should be replaced with the Python executable you installed in the previous step, because if you have a python in your system, then the python in the environment variable is your system, probably 2.6, so your easy_ Install extensions are installed for 2.6 python, so probably not for your purposes, so you should use 2.7 python, which is the python you installed yourself.

    3. Install extensions
      After installation, in the original Python bin directory, there should be 2 more files, one is Easy_install and easy_install-2.7, we can use Easy_install easy to install those extensions, the last installation of the extension should be able to quickly fix As follows:

wget https://bootstrap.pypa.io/ez_setup.py/your/path/python/bin/python ez_setup.py

/your/path/python/bin/easy_install pymongo/your/path/python/bin/easy_install mysql-python /your/path/python

Python Package Manager Easy_install

Related Article

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.