Install gevent dependency Pack under Python--windows __python

Source: Internet
Author: User

Because the program needs to use the Gevent package, it is not feasible to use a simple direct installation method under Windows, you must use the source package, use some methods to install the failure, such as:

wget http://pypi.python.org/packages/source/g/gevent/gevent-0.13.8.tar.gz tar zxvf gevent-0.13.8.tar.gz cd gevent There's a fetch_libevent.py to help you download libevent relies on Python fetch_libevent.py python setup.py build python setup.py Install


Or the installation is not successful ...


Continue to look up data find a good website:: http://www.lfd.uci.edu/~gohlke/pythonlibs/, it compiles a large number of Python modules on Windows, while supporting 32-bit and 64-bit, Gevent,pil, MySQLdb can find the appropriate installation package (link directly to the point of not open manual copy)

(1) Download GEVENT-1.1.1-CP27-CP27M-WIN_AMD64.WHL on the website


(2) Access to information. The WHL file is simple to install with PIP, and the PIP is installed. Download on Python's official website, download address is: https://pypi.python.org/pypi/pip#downloads

See also blog: HTTP://WWW.TUICOOL.COM/ARTICLES/EIM3ER3


(3) Use the CMD console to enter the decompression directory:

Python setup.py Install


(4) PIP environment variables in the last days of path, such as Python installed in C disk:

Configure environment variables See also: http://blog.sina.com.cn/s/blog_6d65717d010176er.html

C:\Python27\Scripts


(5) The last use PIP installation, CD to the corresponding folder to execute the following command

Pip Install GEVENT-1.1.1-CP27-CP27M-WIN_AMD64.WHL







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.