Hi, I am trying to install the package via python3 -m pip install --upgrade nudepy
howevrer I am running into the following error:
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /home/lskywalker416/.local/lib/python3.7/site-packages (21.2.4)
Collecting install
Using cached install-1.3.4-py3-none-any.whl (3.1 kB)
Collecting nudepy
Using cached nudepy-0.5.1.tar.gz (35 kB)
Requirement already satisfied: pillow in /usr/lib/python3/dist-packages (from nudepy) (5.4.1)
Building wheels for collected packages: nudepy
Building wheel for nudepy (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/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-7_jmbwcy
cwd: /tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/
Complete output (9 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
copying nude.py -> build/lib.linux-x86_64-3.7
running build_ext
cythoning skin_classifier.pyx to skin_classifier.c
error: /tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/skin_classifier.pyx
----------------------------------------
ERROR: Failed building wheel for nudepy
Running setup.py clean for nudepy
Failed to build nudepy
Installing collected packages: nudepy, install
Running setup.py install for nudepy ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/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'"'"'))' install --record /tmp/pip-record-hb578l86/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/lskywalker416/.local/include/python3.7m/nudepy
cwd: /tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/
Complete output (9 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
copying nude.py -> build/lib.linux-x86_64-3.7
running build_ext
cythoning skin_classifier.pyx to skin_classifier.c
error: /tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/skin_classifier.pyx
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/setup.py'"'"'; __file__='"'"'/tmp/pip-install-efz9gp75/nudepy_370d0f97a460431abc3646fde64bad7d/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'"'"'))' install --record /tmp/pip-record-hb578l86/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/lskywalker416/.local/include/python3.7m/nudepy Check the logs for full command output.
Host: Google Cloud VM
Release: Debian GNU/Linux 10 (buster)
Python version: Python 3.7.3
Pip version: pip 21.2.4