Comments (1)
I strongly recommend you use a current gevent version. gevent 1.5 does not support Python 3.9 or newer. There are absolutely things that it gets wrong on those newer versions that it is unaware of. That's the reason you have to compile it: 3.9 and newer aren't supported and there were never any binary wheels for them.
That said, I think you're running into issues with a newer Cython version. You'll need to set a pip constraint to get an older version of Cython; the version that gevent 1.5 was tested with was 0.29.14, but note that that version doesn't support Python 3.10 --- Python 3.10 was tested with 3.0a9 but that version won't compile gevent 1.5. There may be a 0.X.X release that can handle newer Python versions and also compile gevent 1.5 code, but I've never tested that and I have no idea what version that would be.
$ echo 'cython<3' > /tmp/constraints.txt
$ PIP_CONSTRAINT=/tmp/constraints.txt pip install gevent==1.5
Good luck.
from gevent.
Related Issues (20)
- ValueError: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 152 from C header, got 40 from PyObject HOT 1
- ssl.SSLError: [SSL: BAD_LENGTH] bad length (_ssl.c:2423)
- Fail to install v23.9.0 - tries to build from source instead of pre-compiled wheel HOT 6
- Missing manylinux2014 wheels for py3.8/py3.9? HOT 3
- 23.9.1: env name py311-cffi conflicting with base python python2.7 HOT 1
- No wheels for new version on python 3.10 docker image HOT 1
- gevent.pywsgi fails to inform which random port it uses when given port 0
- AbstractLinkable._notify_links under VS Code debugger HOT 2
- Wheels for Python 3.9 - ARM64 missing for new releases HOT 2
- this product dont works with flask 3.0 greenlet 3.0 on python 3.12 HOT 1
- How to disable verbose output of the monitoring thread? HOT 1
- client hang with gevent time out HOT 1
- gevent.exceptions.InvalidSwitchError: Invalid switch into AsyncResult.wait(): None HOT 1
- gevent.timeout.Timeout: 0.0 seconds HOT 3
- Assertion failure in _sempahore.py
- AttributeError: module 'select' has no attribute 'epoll' HOT 2
- TypeError: memoryview: a bytes-like object is required, not 'str' HOT 1
- gevent.hub.LoopExit: This operation would block forever HOT 3
- Bad use of gevent: the Thread has created before patch_all, is_alive() always True HOT 3
- Test units with 0 ran tests (skipped) exit with code 5 on Python 3.12 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gevent.