Comments (2)
why are you installing from pypi install from this repo as it is more up to date.
from hiredis-py.
Also my failure is a lot different on python 3.5.3 on Windows 7 SP1 Ultimate x64:
Collecting https://github.com/redis/hiredis-py/archive/master.zip
Downloading https://github.com/redis/hiredis-py/archive/master.zip
\ 20kB 259kB/s
Installing collected packages: hiredis
Running setup.py install for hiredis ... error
Complete output from command I:\Python\Python350\python.exe -u -c "import se
tuptools, tokenize;__file__='E:\\Users\\Elsword\\AppData\\Local\\Temp\\pip-09l_s
22o-build\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().r
eplace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --
record E:\Users\Elsword\AppData\Local\Temp\pip-zs_y37c6-record\install-record.tx
t --single-version-externally-managed --no-compile --home=E:\Users\Elsword\AppDa
ta\Local\Temp\tmpe_r29jda:
running install
running build
running build_py
creating build
creating build\lib.win32-3.5
creating build\lib.win32-3.5\hiredis
copying hiredis\version.py -> build\lib.win32-3.5\hiredis
copying hiredis\__init__.py -> build\lib.win32-3.5\hiredis
running build_clib
building 'hiredis_for_hiredis_py' library
creating build\temp.win32-3.5
creating build\temp.win32-3.5\vendor
creating build\temp.win32-3.5\vendor\hiredis
E:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo
/Ox /W3 /GL /DNDEBUG /MD "-IE:\Program Files (x86)\Microsoft Visual Studio 14.0
\VC\INCLUDE" "-IE:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\IN
CLUDE" "-IE:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\ucrt" "-IE
:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IE:\Program File
s (x86)\Windows Kits\10\include\10.0.10586.0\shared" "-IE:\Program Files (x86)\W
indows Kits\10\include\10.0.10586.0\um" "-IE:\Program Files (x86)\Windows Kits\1
0\include\10.0.10586.0\winrt" "-IE:\Program Files (x86)\Microsoft Visual Studio\
VC98\atl\include" "-IE:\Program Files (x86)\Microsoft Visual Studio\VC98\mfc\inc
lude" "-IE:\Program Files (x86)\Microsoft Visual Studio\VC98\include" /Tcvendor/
hiredis/read.c /Fobuild\temp.win32-3.5\vendor/hiredis/read.obj
read.c
c1: fatal error C1083: Cannot open source file: 'vendor/hiredis/read.c': No
such file or directory
error: command 'E:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\B
IN\\cl.exe' failed with exit status 2
----------------------------------------
Command "I:\Python\Python350\python.exe -u -c "import setuptools, tokenize;__fil
e__='E:\\Users\\Elsword\\AppData\\Local\\Temp\\pip-09l_s22o-build\\setup.py';f=g
etattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.c
lose();exec(compile(code, __file__, 'exec'))" install --record E:\Users\Elsword\
AppData\Local\Temp\pip-zs_y37c6-record\install-record.txt --single-version-exter
nally-managed --no-compile --home=E:\Users\Elsword\AppData\Local\Temp\tmpe_r29jd
a" failed with error code 1 in E:\Users\Elsword\AppData\Local\Temp\pip-09l_s22o-
build\
And yes you seen right I used to have Visual Studio 6 installed on this thing. It was horribad as well.
And all I did was use pip to install it like so (with some other args for the needs of a project of mine):
pip install --upgrade https://github.com/redis/hiredis-py/archive/master.zip
from hiredis-py.
Related Issues (20)
- Release for supporting Python 3.10 HOT 9
- Support newest hiredis release 1.1.0
- Source tarballs unavailable on pypi? HOT 5
- Changelog entry missing for 2.1.0
- Support dispatch/manual and tagged releases
- Windows wheels fail to build due to ssize_t redefinition HOT 2
- CI needs to properly account for all buildwheels attempts - at least in some labelled cases HOT 1
- sdsalloc.h doesn't seem to be installed as part of regular hiredis HOT 9
- Support garbage collection in Reader HOT 1
- Tag mismatch for 2.2.3/2.3.0 release HOT 2
- tests/test_asyncio/test_connect.py hangs on Python 3.12
- Release 2.3.0 not available on PyPI HOT 4
- Python 3.12 wheels HOT 2
- Memory leak on hgetall with RESP3 and hiredis HOT 2
- hiredis 2.3.2 probably causes fastapi app crashes HOT 1
- Hiredis cannot be installed on Python 3.13 HOT 1
- CPU spike in python:3.12.2-slim-bookworm, almost Debian image
- Segmentation fault with RESP3 map inside set
- Hiredis Is Failing To Handle `notEnoughData` Keyword Argument
- Return type differs between RESP2/3 for set operations, with hiredis HOT 1
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 hiredis-py.