You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.
Hello everyone, I have a package with a file setup.py. In it, I specified:
install_requires=[
...
"aioredis==1.3.1"
]
I try to install my package on Windows 10 OS with python 3.9. I get an error:
Running setup.py install for hiredis ... error
ERROR: Command errored out with exit status 1:
command: 'e:\src\cloud\vtb_http_interaction\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\HomePC\\AppData\\Local\\Temp\\pip-install-u3b0ugsm\\hiredis_3792012adb994dc2b782bb6d8918fa63\\setup.py'"'"'; __file__='"'"'C:\\Users\\HomePC\\AppData\\Local\\Temp\\pip-install-u3b0ugsm\\hiredis_3792012adb994dc2b782bb6d8918fa63\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"',
open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\HomePC\AppData\Local\Temp\pip-record-d51xh8l9\install-record.txt' --single-version-externally-managed --compile --install-headers 'e:\src\cloud\vtb_http_interaction\venv\include\site\python3.9\hiredis'
cwd: C:\Users\HomePC\AppData\Local\Temp\pip-install-u3b0ugsm\hiredis_3792012adb994dc2b782bb6d8918fa63\
Complete output (15 lines):
C:\Users\HomePC\AppData\Local\Temp\pip-install-u3b0ugsm\hiredis_3792012adb994dc2b782bb6d8918fa63\setup.py:7: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import sys, imp, os, glob, io
e:\src\cloud\vtb_http_interaction\venv\lib\site-packages\setuptools\dist.py:642: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.9
creating build\lib.win-amd64-3.9\hiredis
copying hiredis\version.py -> build\lib.win-amd64-3.9\hiredis
copying hiredis\__init__.py -> build\lib.win-amd64-3.9\hiredis
running build_ext
building 'hiredis.hiredis' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
----------------------------------------
ERROR: Command errored out with exit status 1: 'e:\src\cloud\vtb_http_interaction\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\HomePC\\AppData\\Local\\Temp\\pip-install-u3b0ugsm\\hiredis_3792012adb994dc2b782bb6d8918fa63\\setup.py'"'"'; __file__='"'"'C:\\Users\\HomePC\\AppData\\Local\\Temp\\pip-install-u3b0ugsm\\hiredis_3792012adb994dc2b782bb6d8918fa63\\setup.py'"'"';f=
getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\HomePC\AppData\Local\Temp\pip-record-d51xh8l9\install-record.txt' --single-version-externally-managed --compile --install-headers 'e:\src\cloud\vtb_http_interaction\venv\include\site\python3.9\hiredis' Check the logs for full command ou
tput.
Installation with python 3.8 is successful. The error occurs because hiredis does not support python 3.9.
Does aioredis package support python 3.9? Thank you!
UPD:
I found a related issue #917 but the changes were pushed to the master branch. Are you planning to release this fix on https://pypi.org/?
The text was updated successfully, but these errors were encountered:
Thanks for the answer. But aioredis does not have the version 2.0.0a1. Perhaps you mean hiredis==2.0.0.dev0.
It's works. Unfortunately I can't use alpha versions of packages in my solution. :(
Ah sorry. I didn't realize it wasn't published yet. The best I can offer is to use a specific commit on the main/master branch for now as the setup.py currently says hiredis is optional but only for our "alpha version."
I would keep an eye out for our 2.0.0 release if you're not allowed to use alpha packages in general though. If you are, I'll ping you once we get that alpha version out!
Hello everyone, I have a package with a file setup.py. In it, I specified:
I try to install my package on Windows 10 OS with python 3.9. I get an error:
Installation with python 3.8 is successful. The error occurs because hiredis does not support python 3.9.
Does aioredis package support python 3.9? Thank you!
UPD:
I found a related issue #917 but the changes were pushed to the master branch. Are you planning to release this fix on https://pypi.org/?
The text was updated successfully, but these errors were encountered: