3👍
This happens because there is some problem with your build tools. Therefore,
-
If your build tools further not answering to your problem, try to install build tools manually through this link.
-
After that, you have to restart your PC or laptop.
-
Then try to run your code again
1👍
Error occurs when building hiredis.
Make sure Python development headers are available when installing hiredis-py. On Ubuntu/Debian systems, install them with apt-get install python3-dev
.
- [Django]-Object could not be found in database for SearchResult django haystack
- [Django]-Facet multiple fields on search query set
0👍
The issue comes when in your windows system you are trying to install channels_redis in venv Python environment and not in the main system,
Try to install and run the project outside any virtual environment i.e into the main system.
- [Django]-Adding days to a date via the ORM
- [Django]-Django – url tag not working
- [Django]-In Django, how do I save a file that has been uploaded in memory as an email attachment?
0👍
When I use python version python-3.10.5 I’m getting the same error and I tried all things but couldn’t work, so I changed my python version to python-3.7.3 and it worked.
- [Django]-ImportError when using virtualenv in Django
- [Django]-Django – does not save to database immediately
- [Django]-Django Forcing BigAutoField even though Default is set to AutoField
- [Django]-IntegrityError with last_login field in Django 1.8
- [Django]-How to update django template variable without reloading page (AJAX)?
0👍
finally i used docker image to solve this problem
-
install docker
-
run docker desktop
-
in terminal enter the following line
docker run -p 5432:5432 -d –name redis redis
- [Django]-Unicode issue with makemessages –all Django 1.6.2 Python 3.3
- [Django]-Dynamically add to TEMPLATE_DIRS at runtime with a Django project
- [Django]-How to make easy_install expand a package into directories rather than a single egg file?