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
I'm trying to install redislite on a python:3.9.9-alpine3.15 image.
The error I'm getting is the one below.
Any idea why I'm getting it and how can I fix it?
redislite==6.0.674960
Thanks
Building wheel for redislite (setup.py): started
Building wheel for redislite (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-aqvlzuog/redislite_da841dbccf9645d2926d1d3e10c09489/setup.py'"'"'; __file__='"'"'/tmp/pip-install-aqvlzuog/redislite_da841dbccf9645d2926d1d3e10c09489/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ou9erqj7
cwd: /tmp/pip-install-aqvlzuog/redislite_da841dbccf9645d2926d1d3e10c09489/
Complete output (39 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/redislite
copying redislite/__init__.py -> build/lib.linux-x86_64-3.9/redislite
copying redislite/client.py -> build/lib.linux-x86_64-3.9/redislite
copying redislite/configuration.py -> build/lib.linux-x86_64-3.9/redislite
copying redislite/debug.py -> build/lib.linux-x86_64-3.9/redislite
copying redislite/patch.py -> build/lib.linux-x86_64-3.9/redislite
running egg_info
writing redislite.egg-info/PKG-INFO
writing dependency_links to redislite.egg-info/dependency_links.txt
writing requirements to redislite.egg-info/requires.txt
writing top-level names to redislite.egg-info/top_level.txt
reading manifest file 'redislite.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.rst'
warning: no files found matching '*' under directory 'redislite/bin'
warning: no previously-included files found matching '*dummy.o'
adding license file 'LICENSE.txt'
writing manifest file 'redislite.egg-info/SOURCES.txt'
copying redislite/package_metadata.json -> build/lib.linux-x86_64-3.9/redislite
running build_ext
building 'dummy' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/src
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.9 -c src/dummy.c -o build/temp.linux-x86_64-3.9/src/dummy.o
gcc -shared -Wl,--strip-all build/temp.linux-x86_64-3.9/src/dummy.o -L/usr/local/lib -o build/lib.linux-x86_64-3.9/dummy.cpython-39-x86_64-linux-gnu.so
compiling redis
********************************************************************************
/tmp/pip-install-aqvlzuog/redislite_da841dbccf9645d2926d1d3e10c09489
cd src && make install
make: /bin/sh: Operation not permitted
make: *** [Makefile:9: install] Error 127
********************************************************************************
creating build/scripts-3.9
error: can't copy '/tmp/pip-install-aqvlzuog/redislite_da841dbccf9645d2926d1d3e10c09489/redis.submodule/bin/redis-server': doesn't exist or not a regular file
----------------------------------------
ERROR: Failed building wheel for redislite
The text was updated successfully, but these errors were encountered:
ghevge
changed the title
Operation not permitted error when building wheel for redislite
Operation not permitted error when building wheel for redislite python:3.9.9-alpine3.15
Dec 16, 2021
It looks like this was fixed. I used to have the same issue, and I was able to build the latest version of 6.0 and 6.2 with the an Python Alpine image.
Hi,
I'm trying to install redislite on a python:3.9.9-alpine3.15 image.
The error I'm getting is the one below.
Any idea why I'm getting it and how can I fix it?
redislite==6.0.674960
Thanks
The text was updated successfully, but these errors were encountered: