Thanks a lot for the hint. I did the following on my Ubuntu 14.04:
sudo apt-get install virtualenv
sudo apt-get install pypy
virtualenv -p /usr/bin/pypy ~/virtualenv/pypy
source ~/virtualenv/pypy/bin/activate
cd ~/dev/
cd gevent
python setup.py build
sudo python setup.py install
It seems to get installed, although I am getting the following errors during installation:
byte-compiling build/bdist.linux-i686/egg/gevent/_socket3.py to _socket3.pyc
File "build/bdist.linux-i686/egg/gevent/_socket3.py", line 133
def makefile(self, mode="r", buffering=None, *,
^
SyntaxError: invalid syntax
.....
creating /usr/local/lib/python2.7/dist-packages/gevent-1.1-py2.7-linux-i686.egg
Extracting gevent-1.1-py2.7-linux-i686.egg to /usr/local/lib/python2.7/dist-packages
File "/usr/local/lib/python2.7/dist-packages/gevent-1.1-py2.7-linux-i686.egg/gevent/_socket3.py", line 133
def makefile(self, mode="r", buffering=None, *,
^
SyntaxError: invalid syntax
Removing gevent 1.0.1 from easy-install.pth file
Adding gevent 1.1 to easy-install.pth file
-----
PyPy version:
Python 2.7.3 (2.2.1+dfsg-1, Nov 28 2013, 05:09:46)
[PyPy 2.2.1 with GCC 4.8.2] on linux2
Any ideas what can be the issue with gevent/_socket3.py line 133?
Galfy