Installation methods for Easy_install, Pip and WHL files under Windows

Source: Internet
Author: User

Turn: http://www.cnblogs.com/wu-wenmin/p/4250330.html written in front of the words

Recently looking at "computer Vision with Python" need to install PIL library, usually always under Windows development, go to "Python Extensions for Windows" Look under the results of the next file extension is. WHL. Google did not know to install this extension of the package needs PIP. Usually used with the. exe installation package, Easy_install, Pip are not installed. BA la point data, finishing the installation method of Easy_install. There is a button to install the script!

Installing Easy_install
  1. Download ez_setup.py

     from Import  = Urlopen ('http://peak.telecommunity.com/dist/ez_setup.py') with open (  'ez_setup.py'wb') as F:f.write ( Data.read ())


  2. run ez.setup.py on the command line

  3. One-click Scripting

    Import'ez_setup.py'fromimport= Urlopen (  'http://peak.telecommunity.com/dist/ez_setup.py'wb  ' ) as F:f.write (Data.read ()) Os.system ('python%s' % (Os.path.join ( OS.GETCWD (), file_name)))

Install PIP
easy_install pip

Installing the WHL file
pip install whatever.whl

Installation methods for Easy_install, Pip and WHL files under Windows

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.