Install geventGevent in Ubuntu is a greenlet-based Python concurrency framework, which uses the mongogreenlet and libevent libraries. Therefore, install greenlet and libevent before installing Gevent. The installation of libevent will not be introduced here. the installation tutorial on the Internet is a major tutorial, you can...
Install gevent Gevent in Ubuntu is a greenlet-based Python concurrent framework, which uses the mongogreenlet and libevent libraries. Therefore, install greenlet and libevent before installing Gevent. The installation of libevent will not be introduced here. the installation tutorial on the Internet is a major tutorial. you can go to google. Here we will mainly introduce the installation of greelet and gevent, which is actually very simple. let's take a look. 1, install greenlet installation before of course to download greenlet (nonsense), you can download to the http://pypi.python.org/pypi/greenlet, download is zip file, after the download is complete, www.2cto.com unzip: unzip greenlet-0.4.0.zip into the directory: install cd greenlet-0.4.0: sudo python setup. py install test: Enter the python parser I to test it. if the import greenlet does not return an error, the installation is successful. 2, gevent installation first download from the http://pypi.python.org/pypi/gevent#downloads download source package www.2cto.com Unzip: tar-zxvf gevent-0.13.7.tar into the directory: cd gevent-0.13.7 installation: sudo python setup. when the installation is complete, enter the python interpreter and enter import gevent. If no error is prompted, the installation is successful. Author: jackliu8722
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