Skip to content

Instantly share code, notes, and snippets.

@matyklug18
Created September 8, 2021 11:38
Show Gist options
  • Save matyklug18/c08847d7434a229ffce9813eeb029fe2 to your computer and use it in GitHub Desktop.
Save matyklug18/c08847d7434a229ffce9813eeb029fe2 to your computer and use it in GitHub Desktop.
WARNING: The directory '/homeless-shelter/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff6026a60>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/flake8/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff60303d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/flake8/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff6030190>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/flake8/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff6030b80>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/flake8/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7ffff6030340>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/flake8/
ERROR: Could not find a version that satisfies the requirement flake8<4,>=3.8 (from versions: none)
ERROR: No matching distribution found for flake8<4,>=3.8
Traceback (most recent call last):
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/setuptools/installer.py", line 75, in fetch_build_egg
subprocess.check_call(cmd)
File "/nix/store/7ssj1jid9dqikk513rvg340kpbxrv0p0-python3-3.8.11/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/7ssj1jid9dqikk513rvg340kpbxrv0p0-python3-3.8.11/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp_ggm8h9m', '--quiet', 'flake8<4,>=3.8']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "nix_run_setup", line 8, in <module>
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
File "setup.py", line 60, in <module>
setup(
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/setuptools/__init__.py", line 152, in setup
_install_setup_requires(attrs)
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/setuptools/__init__.py", line 147, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/setuptools/dist.py", line 785, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/pkg_resources/__init__.py", line 766, in resolve
dist = best[req.key] = env.best_match(
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1051, in best_match
return self.obtain(req, installer)
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1063, in obtain
return installer(requirement)
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/setuptools/dist.py", line 844, in fetch_build_egg
return fetch_build_egg(self, req)
File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/nix/store/7ssj1jid9dqikk513rvg340kpbxrv0p0-python3-3.8.11/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp_ggm8h9m', '--quiet', 'flake8<4,>=3.8']' returned non-zero exit status 1.
error: builder for '/nix/store/4snylqz9lwnzrr4zdykkkl23wvkci2gy-python3.8-markdownify-0.9.3.drv' failed with exit code 1;
last 10 log lines:
> dist = best[req.key] = env.best_match(
> File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1051, in best_match
> return self.obtain(req, installer)
> File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1063, in obtain
> return installer(requirement)
> File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/setuptools/dist.py", line 844, in fetch_build_egg
> return fetch_build_egg(self, req)
> File "/nix/store/35rsqwasg2sjpis2hpbfg2zqpmibclmy-python3.8-setuptools-57.2.0/lib/python3.8/site-packages/setuptools/installer.py", line 77, in fetch_build_egg
> raise DistutilsError(str(e)) from e
> distutils.errors.DistutilsError: Command '['/nix/store/7ssj1jid9dqikk513rvg340kpbxrv0p0-python3-3.8.11/bin/python3.8', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp_ggm8h9m', '--quiet', 'flake8<4,>=3.8']' returned non-zero exit status 1.
For full logs, run 'nix log /nix/store/4snylqz9lwnzrr4zdykkkl23wvkci2gy-python3.8-markdownify-0.9.3.drv'.
error: 1 dependencies of derivation '/nix/store/b6b4439cbv4imc7nrc3ijjw40f3wmfi3-python3-3.8.11-env.drv' failed to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment