简体   繁体   中英

installing gevent in windows

I m new to python.I installed python 3.4 and tried to run the commamd "pip install gevent" but it shows the error "TypeError: unorderable types: NoneType() >= str()".How to resolve this.

thanks in advance

I think that's because gevent only supports Python 2.5 and greater :

Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Programming Language :: Python :: 2.5
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7

Solution: you have to install the Python 2.x version for Windows so that you can use gevent as desired.

What you're seeing is because gevent does not support python 3 yet. This is why you're getting the error right now.

For Windows 64 bit using Python 2.7: Install greenlet (pip install greenlet) Then install Microsoft Visual C++ 9.0 (as of 2015-01-20) at http://aka.ms/vcpython27 Then you can install gevent through pip (pip install gevent)

If you are not sure how to install on windows using pip it is a download also. I was using pip-Win 1.7

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM