While building `hyrule': ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied

This page summarizes the projects mentioned and recommended in the original post on /r/NixOS

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • hy

    A dialect of Lisp that's embedded in Python

  • `` these 2 derivations will be built: /nix/store/qznk3jq727agg55izsy0ds8fnjgf496c-python3.9-hyrule-0.1.drv /nix/store/vbshk8kqrf8w9c1xa8nzmz4p5c0a3rn7-python3.9-oreo-1.0.0.0.drv building '/nix/store/qznk3jq727agg55izsy0ds8fnjgf496c-python3.9-hyrule-0.1.drv'... Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Using setuptoolsShellHook Sourcing pip-install-hook Using pipInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing setuptools-check-hook Using setuptoolsCheckPhase Sourcing pytest-check-hook Using pytestCheckPhase Removing setuptoolsCheckPhase unpacking sources unpacking source archive /nix/store/a3a34mr6bzc8xl7jqkjgp015jsa7njv7-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tests/test_walk.hy patching sources configuring no configure script, doing nothing building Executing setuptoolsBuildPhase running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/hyrule copying hyrule/__init__.py -> build/lib/hyrule copying hyrule/control.hy -> build/lib/hyrule copying hyrule/misc.hy -> build/lib/hyrule copying hyrule/iterables.hy -> build/lib/hyrule copying hyrule/collections.hy -> build/lib/hyrule copying hyrule/hypprint.hy -> build/lib/hyrule copying hyrule/anaphoric.hy -> build/lib/hyrule copying hyrule/sequences.hy -> build/lib/hyrule copying hyrule/hy_init.hy -> build/lib/hyrule copying hyrule/destructure.hy -> build/lib/hyrule copying hyrule/macrotools.hy -> build/lib/hyrule copying hyrule/argmove.hy -> build/lib/hyrule installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/anaphoric.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/misc.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/macrotools.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/sequences.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/__init__.py -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/control.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/collections.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/iterables.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/argmove.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/hy_init.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/destructure.hy -> build/bdist.linux-x86_64/wheel/hyrule copying build/lib/hyrule/hypprint.hy -> build/bdist.linux-x86_64/wheel/hyrule running install_egg_info running egg_info creating hyrule.egg-info writing hyrule.egg-info/PKG-INFO writing dependency_links to hyrule.egg-info/dependency_links.txt writing requirements to hyrule.egg-info/requires.txt writing top-level names to hyrule.egg-info/top_level.txt writing manifest file 'hyrule.egg-info/SOURCES.txt' reading manifest file 'hyrule.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'hyrule.egg-info/SOURCES.txt' Copying hyrule.egg-info to build/bdist.linux-x86_64/wheel/hyrule-0.0.0-py3.9.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") creating build/bdist.linux-x86_64/wheel/hyrule-0.0.0.dist-info/WHEEL creating 'dist/hyrule-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'hyrule/__init__.py' adding 'hyrule/anaphoric.hy' adding 'hyrule/argmove.hy' adding 'hyrule/collections.hy' adding 'hyrule/control.hy' adding 'hyrule/destructure.hy' adding 'hyrule/hy_init.hy' adding 'hyrule/hypprint.hy' adding 'hyrule/iterables.hy' adding 'hyrule/macrotools.hy' adding 'hyrule/misc.hy' adding 'hyrule/sequences.hy' adding 'hyrule-0.0.0.dist-info/AUTHORS' adding 'hyrule-0.0.0.dist-info/LICENSE' adding 'hyrule-0.0.0.dist-info/METADATA' adding 'hyrule-0.0.0.dist-info/WHEEL' adding 'hyrule-0.0.0.dist-info/top_level.txt' adding 'hyrule-0.0.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Finished executing setuptoolsBuildPhase installing Executing pipInstallPhase /tmp/nix-build-python3.9-hyrule-0.1.drv-0/source/dist /tmp/nix-build-python3.9-hyrule-0.1.drv-0/source Processing ./hyrule-0.0.0-py3-none-any.whl Collecting hy@ git+https://github.com/hylang/hy@master#egg=hy-1.0 Cloning https://github.com/hylang/hy (to revision master) to /tmp/nix-build-python3.9-hyrule-0.1.drv-0/pip-install-ebu_hc17/hy_1e5f02ac4dee454097e0c8f8f4885c1f Running command git clone -q https://github.com/hylang/hy /tmp/nix-build-python3.9-hyrule-0.1.drv-0/pip-install-ebu_hc17/hy_1e5f02ac4dee454097e0c8f8f4885c1f Requirement already satisfied: rply>=0.7.7 in /nix/store/sz392n8h9b6vka4w0hn2bq4ghnyba76m-python3.9-rply-0.7.7/lib/python3.9/site-packages (from hy@ git+https://github.com/hylang/hy@master#egg=hy-1.0->hyrule==0.0.0) (0.7.7) Requirement already satisfied: funcparserlib>=1.0.0a0 in /nix/store/qfkgvwzzf9skk23k7yx24igq8vqijgdp-python3.9-funcparserlib-1.0.0a0/lib/python3.9/site-packages (from hy@ git+https://github.com/hylang/hy@master#egg=hy-1.0->hyrule==0.0.0) (1.0.0a0) Requirement already satisfied: colorama in /nix/store/99fy7wzz4i53jqnhmcj6s34cy9i0i7g5-python3.9-colorama-0.4.4/lib/python3.9/site-packages (from hy@ git+https://github.com/hylang/hy@master#egg=hy-1.0->hyrule==0.0.0) (0.4.4) Requirement already satisfied: appdirs in /nix/store/4r0hk6lpb6iazvyr38qhbj45ah58slbv-python3.9-appdirs-1.4.4/lib/python3.9/site-packages (from rply>=0.7.7->hy@ git+https://github.com/hylang/hy@master#egg=hy-1.0->hyrule==0.0.0) (1.4.4) Building wheels for collected packages: hy Building wheel for hy (setup.py) ... done Created wheel for hy: filename=hy-1.0a4+67.gabd5ef6a-py3-none-any.whl size=75703 sha256=6f5a23029e136961bb7aea1ee3ad8f00126721f0ce25effd1d2f84c5aca511ed Stored in directory: /tmp/nix-build-python3.9-hyrule-0.1.drv-0/pip-ephem-wheel-cache-83ub29qm/wheels/7f/7a/8e/00de2d00c6f1237b0e5c6be9df0e0aa76203bfaecc2934d131 Successfully built hy Installing collected packages: hy, hyrule Attempting uninstall: hy Found existing installation: hy 1.0a4 Uninstalling hy-1.0a4: ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/nix/store/4n90fqfgka0np4w5df43jvkhybrsj358-hy-1.0a4/bin/hy' Consider using the--user` option or check the permissions.

  • hyrule

    A utility library for Hy

  • I am getting the above error when attempting to build the hyrule package; here is the trace:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pip

    The Python package installer

  • 4oe DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Added file:///tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source to build tracker '/tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-req-tracker-pg0s4jcy' Created temporary directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-modern-metadata-r4la6pf4 Running command /nix/store/cgxc3jz7idrb1wnb2lard9rvcx6aw2si-python3-3.9.6/bin/python3.9 /nix/store/3xcbipxg7dacja7arkqsdp31wv48a59b-python3.9-pip-21.1.3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/tmpmpim2fje Preparing wheel metadata ... done Source in /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-req-build-rzzt_4oe has version 1.0.0.0, which satisfies requirement oreo==1.0.0.0 from file:///tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source Removed oreo==1.0.0.0 from file:///tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source from build tracker '/tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-req-tracker-pg0s4jcy' Created temporary directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-unpack-1nnn3w07 Building wheels for collected packages: oreo Created temporary directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-wheel-jyheihmt Destination directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-wheel-jyheihmt Running command /nix/store/cgxc3jz7idrb1wnb2lard9rvcx6aw2si-python3-3.9.6/bin/python3.9 /nix/store/3xcbipxg7dacja7arkqsdp31wv48a59b-python3.9-pip-21.1.3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/tmp8ljzwh4w Building wheel for oreo (PEP 517) ... done Created wheel for oreo: filename=oreo-1.0.0.0-py3-none-any.whl size=10319 sha256=fb4efcf870de4c110a634e3c533e9bf01b7688bf2a5afaccabcfaa6970ce7885 Stored in directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-ephem-wheel-cache-w03nuxin/wheels/39/40/4f/f0b9937669794874506485e96ceaa27a49834a1f4b7406fb86 Successfully built oreo Removed build tracker: '/tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-req-tracker-pg0s4jcy' Finished creating a wheel... Finished executing pipBuildPhase installing Executing pipInstallPhase /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source/dist /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source Processing ./oreo-1.0.0.0-py3-none-any.whl Collecting rich@ git+https://github.com/syvlorg/rich.git@master Cloning https://github.com/syvlorg/rich.git (to revision master) to /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-install-qnk_ga2u/rich_0259bc6873ce438bbee709d94f271c2d Running command git clone -q https://github.com/syvlorg/rich.git /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-install-qnk_ga2u/rich_0259bc6873ce438bbee709d94f271c2d Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /nix/store/cgxc3jz7idrb1wnb2lard9rvcx6aw2si-python3-3.9.6/bin/python3.9 /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-standalone-pip-1673qp7k/

  • rich

    Discontinued Rich is a Python library for rich text and beautiful formatting in the terminal. (by syvlorg)

  • 4oe DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Added file:///tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source to build tracker '/tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-req-tracker-pg0s4jcy' Created temporary directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-modern-metadata-r4la6pf4 Running command /nix/store/cgxc3jz7idrb1wnb2lard9rvcx6aw2si-python3-3.9.6/bin/python3.9 /nix/store/3xcbipxg7dacja7arkqsdp31wv48a59b-python3.9-pip-21.1.3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/tmpmpim2fje Preparing wheel metadata ... done Source in /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-req-build-rzzt_4oe has version 1.0.0.0, which satisfies requirement oreo==1.0.0.0 from file:///tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source Removed oreo==1.0.0.0 from file:///tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source from build tracker '/tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-req-tracker-pg0s4jcy' Created temporary directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-unpack-1nnn3w07 Building wheels for collected packages: oreo Created temporary directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-wheel-jyheihmt Destination directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-wheel-jyheihmt Running command /nix/store/cgxc3jz7idrb1wnb2lard9rvcx6aw2si-python3-3.9.6/bin/python3.9 /nix/store/3xcbipxg7dacja7arkqsdp31wv48a59b-python3.9-pip-21.1.3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/tmp8ljzwh4w Building wheel for oreo (PEP 517) ... done Created wheel for oreo: filename=oreo-1.0.0.0-py3-none-any.whl size=10319 sha256=fb4efcf870de4c110a634e3c533e9bf01b7688bf2a5afaccabcfaa6970ce7885 Stored in directory: /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-ephem-wheel-cache-w03nuxin/wheels/39/40/4f/f0b9937669794874506485e96ceaa27a49834a1f4b7406fb86 Successfully built oreo Removed build tracker: '/tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-req-tracker-pg0s4jcy' Finished creating a wheel... Finished executing pipBuildPhase installing Executing pipInstallPhase /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source/dist /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/source Processing ./oreo-1.0.0.0-py3-none-any.whl Collecting rich@ git+https://github.com/syvlorg/rich.git@master Cloning https://github.com/syvlorg/rich.git (to revision master) to /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-install-qnk_ga2u/rich_0259bc6873ce438bbee709d94f271c2d Running command git clone -q https://github.com/syvlorg/rich.git /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-install-qnk_ga2u/rich_0259bc6873ce438bbee709d94f271c2d Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /nix/store/cgxc3jz7idrb1wnb2lard9rvcx6aw2si-python3-3.9.6/bin/python3.9 /tmp/nix-build-python3.9-oreo-1.0.0.0.drv-0/pip-standalone-pip-1673qp7k/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Basilisp: A Clojure-ish Lisp dialect targeting Python 3.8

    3 projects | news.ycombinator.com | 11 May 2024
  • Show HN: Exploring HN by mapping and analyzing 40M posts and comments for fun

    7 projects | news.ycombinator.com | 9 May 2024
  • A dialect of Lisp that's embedded in Python

    1 project | news.ycombinator.com | 9 Apr 2024
  • How to Create Virtual Environments in Python

    4 projects | dev.to | 9 Feb 2024
  • Boring Python: dependency management (2022)

    3 projects | news.ycombinator.com | 4 Feb 2024