Error when starting celery:
kombu.exceptions.VersionMismatch: Redis transport requires redis-py versions 3.2.0 or later. You have 2.10.6
The reason is that my redis version is too low and incompatible with kombu. But I won’t touch my redis
uninstall the current celery, download the 4.1.0 version of celery (kombu will be updated during installation), and then start it again. An error is reported:
pip install Celery==4.1.0
error:
KeyError: 'async'
The problem is that version 4.1.0 of celery is incompatible with python3.6.9, so replace it with version 4.1.1 of celery
pip install Celery==4.1.0
Start celery again:
celery -A celery_task.main worker -l info
Done!
Read More:
- Python Redis: How to batch fuzzy Delete Keys
- [Solved] Django Configurate celery error: django.db.utils.DatabaseError
- [Solved] Django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).
- [Solved] django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.Did you install mysqlclie
- Python asynchronous co process crawler error: [aiohttp. Client]_ Exceptions: serverdisconnected error: Server Disconnected]
- [Solved] Selenium.common.exceptions.WebDriverException: Message: newSession
- Python: The behavior of this method will change in future versions
- Python Error aiohttp.client_exceptions.ClientConnectorCertificateError, Cannot connect to host:443
- [Solved] Plugin requires missing class loader for ‘Python‘
- [Solved] ERROR: URL ‘s3://‘ is supported but requires these missing dependencies: [‘s3fs‘]. To install dvc wi
- Python Connect database error: command listdatabases requires authentication
- [Solved] socketio.exceptions.ConnectionError: OPEN packet not returned by server
- [Solved] ValueError: check_hostname requires server_hostname
- [Solved] selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn
- [Solved] RuntimeError: a view of a leaf Variable that requires grad is being used in an in-place
- urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=‘localhost‘, port=8097): Max retries excee
- PIP Install Mysqlclient error C1083: Cannot open include file: ‘mysql.h‘: No such file or directory
- MySQLdb._exceptions.ProgrammingError appears when scrapy crawls Weibo hot comments
- [Solved] Django Error: django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
- [Solved] Python Project Error: django.core.exceptions.ImproperlyConfigured: WSGI application ‘WebTool.wsgi.application