pip install error AssertionError: home=/tmp/pip-target prefix=/tmp/pip-build-env/overlay
gajim release 1.3.1
There is an error with pip install . The tail of the output is
Downloading pycairo-1.20.0.tar.gz (344 kB)
|████████████████████████████████| 344 kB 934 kB/s
Installing build dependencies ... error
ERROR: Command errored out with exit status 2:
command: /usr/bin/python /usr/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9xvku5w3/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel
cwd: None
Complete output (23 lines):
WARNING: Keyring is skipped due to an exception: Failed to unlock the keyring!
Collecting setuptools
Downloading setuptools-54.0.0-py3-none-any.whl (784 kB)
Collecting wheel
Downloading wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: setuptools, wheel
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
status = self.run(options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
return func(self, options, args)
File "/usr/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 397, in run
installed = install_given_reqs(
File "/usr/lib/python3.9/site-packages/pip/_internal/req/__init__.py", line 82, in install_given_reqs
requirement.install(
File "/usr/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 779, in install
scheme = get_scheme(
File "/usr/lib/python3.9/site-packages/pip/_internal/locations.py", line 185, in get_scheme
scheme = distutils_scheme(
File "/usr/lib/python3.9/site-packages/pip/_internal/locations.py", line 118, in distutils_scheme
assert not (home and prefix), "home={} prefix={}".format(home, prefix)
AssertionError: home=/tmp/pip-target-_s3i3ojl prefix=/tmp/pip-build-env-9xvku5w3/overlay
----------------------------------------
ERROR: Command errored out with exit status 2: /usr/bin/python /usr/lib/python3.9/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-9xvku5w3/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel Check the logs for full command output.