擅长:python、mysql、java
<p>在Ubuntu10.10(和更高版本)中,gevent(和依赖项)打包在UbuntuRepositories中。</p>
<p>2004年11月4日:</p>
<pre><code>$ sudo apt-get install python-gevent
...
$ python
corey@lenovo:~$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gevent
>>> from gevent import socket
>>> print gevent.__version__
0.13.0
</code></pre>