Comments (2)
the error on greenlet is because you don't have a C++ compiler installed, or not configured, or not configured correctly that Python can find it.
You're semi-correct on requirements, but I argue against what you're trying to advocate.
Flask is a requirement of Flask-WTF, therefor installing Flask-WTF will install Flask implicitly. Likewise, Jinja is a requirement of Flask, so installing Flask (via Flask-WTF) will install Jinja implicitly... however, the requirements.txt file is very rarely manually created or edited - it's created via pip freeze > requirements.txt
which will add every package from the virtual environment to the requirements.txt file. If it were then manually edited, and a new package added later, and the requirements.txt updated with a pip freeze
, then the creator has to go back in and manually edit it again... for a small project that may not sound like a big deal, but for a large project, it's a nightmare.
Removing requirements because they are implied as dependencies of other requirements is a good way to have a big problem down the road when a dependency changes. Besides, as the Zen of Python says: Explicit is better than implicit.
from flask-socketio-chat.
A failure when installing greenlet usually means that the greenlet package does not have a wheel package for the version of Python and/or operating system. I have seen this error recently when using Python 3.12, so the interim solution is to use Python 3.11, which installs greenlet from a wheel. Eventually the greenlet team will push wheels for 3.12 and everything will be good again.
from flask-socketio-chat.
Related Issues (20)
- Trying to make a chatbot HOT 3
- Accessing to application context in a background task with Blueprints HOT 11
- Scaling with Redis HOT 1
- Server receives event correctly, but It doesn't execute method HOT 1
- Unicode message seems not work with SSL HOT 4
- Not working on Google chrome HOT 2
- Understanding the structure HOT 3
- Commands HOT 3
- Clean install virtualenv error HOT 2
- Making calls to external API with only 1 gunicorn worker HOT 12
- Flask-socketio nginx HOT 11
- socketio.run (app) vs app.run ()
- way to change the hosted socket HOT 2
- Add Password Support: HOT 1
- Flask-SocketIO-Chat with background event
- didn't work on localhost cuz of `https` missing from source HOT 4
- Socket Handlers not being Triggered Even after i've imported them HOT 13
- Example code with Auth key at the time of connect HOT 1
- python version HOT 2
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 flask-socketio-chat.