question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Locking failed without an error message

See original GitHub issue

Issue description

Since some of my dependencies cannot be run on M1/Aarch64, I tried using a development container running on another architecture (amd64/python:3.8-bullseye), however pipenv fails in the locking step of the dependency installation with no error message. Installing from requirements.txt works via pip, and running pipenv install on an x86_64 Ubuntu 20.04 machine works without issue.

Expected result

The dependencies are installed

Actual result

The point at which the locking step fails seems almost random. For a while it used to fail at llvmlite when locking numba dependencies, tough now it fails at scipy.

...more info messages

INFO:pipenv.patched.notpip._internal.resolution.resolvelib.reporter:Reporter.adding_requirement(SpecifierRequirement('scikit-learn>=0.22.0'), LinkCandidate('https://files.pythonhosted.org/packages/f9/90/28f90637a5e7c97c0d16ba12778d37f8104c00cca3f0d44c319c8113b043/Riskfolio_Lib-0.4.0-py3-none-any.whl#sha256=01abe4808ab07257c7eba5fe4910b4a5e14a98d362c9f118e8d0df9e69d21f1f (from https://pypi.org/simple/riskfolio-lib/) (requires-python:>=3.7)'))
Reporter.adding_requirement(SpecifierRequirement('scipy>=1.0.1'), LinkCandidate('https://files.pythonhosted.org/packages/f9/90/28f90637a5e7c97c0d16ba12778d37f8104c00cca3f0d44c319c8113b043/Riskfolio_Lib-0.4.0-py3-none-any.whl#sha256=01abe4808ab07257c7eba5fe4910b4a5e14a98d362c9f118e8d0df9e69d21f1f (from https://pypi.org/simple/riskfolio-lib/) (requires-python:>=3.7)'))
INFO:pipenv.patched.notpip._internal.resolution.resolvelib.reporter:Reporter.adding_requirement(SpecifierRequirement('scipy>=1.0.1'), LinkCandidate('https://files.pythonhosted.org/packages/f9/90/28f90637a5e7c97c0d16ba12778d37f8104c00cca3f0d44c319c8113b043/Riskfolio_Lib-0.4.0-py3-none-any.whl#sha256=01abe4808ab07257c7eba5fe4910b4a5e14a98d362c9f118e8d0df9e69d21f1f (from https://pypi.org/simple/riskfolio-lib/) (requires-python:>=3.7)'))
✘ Locking Failed! 

Steps to replicate

Since one of the dependencies is a company-internal package, you should add the following dependencies to the Pipfile:

install_requires = [
        "numpy",
        "pandas",
        "riskfolio-lib==0.4.0",
        "vectorbt==0.15.5",
        "sanpy==0.8.12",
        "asyncio",
        "aiohttp",
        "iso8601"
]

Start a container from the above-mentioned python image (ideally on an arm64 processor), install the latest pipenv and run pipenv install


$ pipenv --support

Pipenv version: '2022.1.8'

Pipenv location: '/usr/local/lib/python3.8/site-packages/pipenv'

Python location: '/usr/local/bin/python'

Python installations found:

  • 3.9.2: /usr/bin/python3.9
  • 3.9.2: /usr/bin/python3
  • 3.8.12: /usr/local/bin/python
  • 3.8.12: /usr/local/bin/python3
  • 3.8.12: /usr/local/bin/python3.8

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.8.12',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '5.10.76-linuxkit',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP PREEMPT Mon Nov 8 11:22:26 UTC 2021',
 'python_full_version': '3.8.12',
 'python_version': '3.8',
 'sys_platform': 'linux'}

System environment variables:

  • _
  • VSCODE_IPC_HOOK_CLI
  • TERM_PROGRAM
  • PATH
  • BROWSER
  • PYTHON_GET_PIP_URL
  • VSCODE_GIT_ASKPASS_MAIN
  • PYTHON_GET_PIP_SHA256
  • PYTHON_PIP_VERSION
  • SHLVL
  • VSCODE_GIT_IPC_HANDLE
  • REMOTE_CONTAINERS_SOCKETS
  • TERM
  • GIT_ASKPASS
  • GPG_KEY
  • REMOTE_CONTAINERS
  • LS_COLORS
  • LANG
  • HOME
  • VSCODE_GIT_ASKPASS_NODE
  • PYTHON_SETUPTOOLS_VERSION
  • PWD
  • REMOTE_CONTAINERS_IPC
  • SSH_AUTH_SOCK
  • PYTHON_VERSION
  • HOSTNAME
  • TERM_PROGRAM_VERSION
  • COLORTERM
  • SHELL
  • PIP_SHIMS_BASE_MODULE
  • PIP_DISABLE_PIP_VERSION_CHECK
  • PYTHONDONTWRITEBYTECODE
  • PIP_PYTHON_PATH
  • PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

Debug–specific environment variables:

  • PATH: /vscode/vscode-server/bin/x64/7f6ab5485bbc008386c4386d08766667e155244e/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  • SHELL: /bin/bash
  • LANG: C.UTF-8
  • PWD: /workspaces/weight-generation-service

Some hashes were omitted for brevity.

Contents of Pipfile (‘/workspaces/weight-generation-service/Pipfile’):

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[[source]]
REDACTED

[packages]
INTERNAL-PACKAGE = "==3.1.4"
flask-restx = "*"
requests = "*"
ddtrace = "*"
waitress = "*"
python-dotenv = "*"
JSON-log-formatter = "*"

[dev-packages]

[requires]
python_version = "3.8"

Contents of Pipfile.lock (‘/workspaces/weight-generation-service/Pipfile.lock’):

{
    "_meta": {
        "hash": {
            "sha256": "d9f37dbf7164411a33c76186eb2a0cc3b7941910c0a99d7686439885e289302b"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.8"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            },
            {
                REDACTED
            }
        ]
    },
    "default": {
        "aiohttp": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.6'",
            "version": "==3.8.1"
        },
        "aiosignal": {
            "hashes": [
                "sha256:26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a",
                "sha256:78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==1.2.0"
        },
        "arch": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==5.1.0"
        },
        "argon2-cffi": {
            "hashes": [
                "sha256:8c976986f2c5c0e5000919e6de187906cfd81fb1c72bf9d88c01177e77da7f80",
                "sha256:d384164d944190a7dd7ef22c6aa3ff197da12962bd04b17f64d4e93d934dba5b"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==21.3.0"
        },
        "argon2-cffi-bindings": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.6'",
            "version": "==21.2.0"
        },
        "asttokens": {
            "hashes": [
                "sha256:0844691e88552595a6f4a4281a9f7f79b8dd45ca4ccea82e5e05b4bbdb76705c",
                "sha256:9a54c114f02c7a9480d56550932546a3f1fe71d8a02f1bc7ccd0ee3ee35cf4d5"
            ],
            "version": "==2.0.5"
        },
        "async-timeout": {
            "hashes": [
                "sha256:2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15",
                "sha256:8ca1e4fcf50d07413d66d1a5e416e42cfdf5851c981d679a09851a6853383b3c"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==4.0.2"
        },
        "asyncio": {
            "hashes": [
                "sha256:83360ff8bc97980e4ff25c964c7bd3923d333d177aa4f7fb736b019f26c7cb41",
                "sha256:b62c9157d36187eca799c378e572c969f0da87cd5fc42ca372d92cdb06e7e1de",
                "sha256:c46a87b48213d7464f22d9a497b9eef8c1928b68320a2fa94240f969f6fec08c",
                "sha256:c4d18b22701821de07bd6aea8b53d21449ec0ec5680645e5317062ea21817d2d"
            ],
            "version": "==3.4.3"
        },
        "attrs": {
            "hashes": [
                "sha256:2d27e3784d7a565d36ab851fe94887c5eccd6a463168875832a1be79c82828b4",
                "sha256:626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'",
            "version": "==21.4.0"
        },
        "backcall": {
            "hashes": [
                "sha256:5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e",
                "sha256:fbbce6a29f263178a1f7915c1940bde0ec2b2a967566fe1c65c1dfb7422bd255"
            ],
            "version": "==0.2.0"
        },
        "black": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_full_version >= '3.6.2'",
            "version": "==22.1.0"
        },
        "bleach": {
            "hashes": [
                "sha256:0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da",
                "sha256:4d2651ab93271d1129ac9cbc679f524565cc8a1b791909c4a51eac4446a15994"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==4.1.0"
        },
        "certifi": {
            "hashes": [
                "sha256:78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872",
                "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"
            ],
            "version": "==2021.10.8"
        },
        "cffi": {
            "hashes": [
                OMMITED
            ],
            "version": "==1.15.0"
        },
        "charset-normalizer": {
            "hashes": [
                "sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597",
                "sha256:6881edbebdb17b39b4eaaa821b438bf6eddffb4468cf344f09f89def34a8b1df"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==2.0.12"
        },
        "click": {
            "hashes": [
                "sha256:353f466495adaeb40b6b5f592f9f91cb22372351c84caeb068132442a4518ef3",
                "sha256:410e932b050f5eed773c4cda94de75971c89cdb3155a72a0831139a79e5ecb5b"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==8.0.3"
        },
        "cvxpy": {
            "hashes": [
                "sha256:022c8d9c82d2f00535e1d08761e88aa5c1729ee685dfb2ea60465693f54550c1",
                "sha256:20b9f214f092ff5dec8e8b56ddb365690d8e02f6bd005ee9b59367150e3efd05",
                "sha256:254683742bcd4427eaa17ca44675b540690e043782d467c4c68d1d4ef003c062",
                "sha256:2699db1cc889fd2e0ea459f022866fcc1182241f4520c5550ca5136ef06c5246",
                "sha256:2eb079877d23f03494141102d6cf9d3139edf5e1dc07bfa3f767f4c79e837ecb",
                "sha256:569f7298539a2bd8704209628af11ecf1bca0cff2d5e27c46b57ffea921a01cf",
                "sha256:5baefe1f2ed6937749b293586c6ce4f42ed30e7890223f7661ccb2bb7df70bef",
                "sha256:6d2dd80550b9ab5f36a3961c64b51d70f364bd375565400534af65b5cf590787",
                "sha256:80018d9a4478253cc27d6d87677c4ba35908bf52e71a94e4beba5639c39f283d",
                "sha256:9f82ca609e34577062940d5c32bc1f687fcf83d39ca92ec0d04fb1f290b43355",
                "sha256:d21d81ab76f6fae44090c19b9a802e42e8af440d9a505be892c1e6766621e4a6",
                "sha256:d3c35f47032ba15af0ae5b7d4b44ed8dd287e27101f1a264295dd4885f8aea70",
                "sha256:d84fb6de19c998a4db8e442d2d5d5c155b983ca4f1833fd79fb6ad47c092f349",
                "sha256:d853b73aca9223901b1de4dcd8c71d9732e7d38e915008956aa13fa2920d2652",
                "sha256:e634c5afa8d4c7db9691d2fb9f982fcf9be41bf3fb8c781e47816fa290acbdbb",
                "sha256:ec5371c339cd35cb47fc8e9f7e6dff22e20612fdfa6b17dc508fc513130337ba"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==1.1.18"
        },
        "cycler": {
            "hashes": [
                "sha256:3a27e95f763a428a739d2add979fa7494c912a32c17c4c38c4d5f082cad165a3",
                "sha256:9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==0.11.0"
        },
        "debugpy": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'",
            "version": "==1.5.1"
        },
        "decorator": {
            "hashes": [
                "sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330",
                "sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==5.1.1"
        },
        "defusedxml": {
            "hashes": [
                "sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69",
                "sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4'",
            "version": "==0.7.1"
        },
        "ecos": {
            "hashes": [
                OMMITED
            ],
            "version": "==2.0.10"
        },
        "entrypoints": {
            "hashes": [
                "sha256:b706eddaa9218a19ebcd67b56818f05bb27589b1ca9e8d797b74affad4ccacd4",
                "sha256:f174b5ff827504fd3cd97cc3f8649f3693f51538c7e4bdf3ef002c8429d42f9f"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==0.4"
        },
        "executing": {
            "hashes": [
                "sha256:32fc6077b103bd19e6494a72682d66d5763cf20a106d5aa7c5ccbea4e47b0df7",
                "sha256:c23bf42e9a7b9b212f185b1b2c3c91feb895963378887bb10e64a2e612ec0023"
            ],
            "version": "==0.8.2"
        },
        "fonttools": {
            "hashes": [
                "sha256:1933415e0fbdf068815cb1baaa1f159e17830215f7e8624e5731122761627557",
                "sha256:2b18a172120e32128a80efee04cff487d5d140fe7d817deb648b2eee023a40e4"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==4.29.1"
        },
        "frozenlist": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==1.3.0"
        },
        "idna": {
            "hashes": [
                "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff",
                "sha256:9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==3.3"
        },
        "importlib-resources": {
            "hashes": [
                "sha256:33a95faed5fc19b4bc16b29a6eeae248a3fe69dd55d4d229d2b480e23eeaad45",
                "sha256:d756e2f85dd4de2ba89be0b21dba2a3bbec2e871a42a3a16719258a11f87506b"
            ],
            "markers": "python_version < '3.9'",
            "version": "==5.4.0"
        },
        "ipykernel": {
            "hashes": [
                "sha256:4fae9df6e192837552b2406a6052d707046dd2e153860be73c68484bacba18ed",
                "sha256:f95070a2dfd3147f8ab19f18ee46733310813758593745e07ec18fb08b409f1d"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==6.9.1"
        },
        "ipython": {
            "hashes": [
                "sha256:ab564d4521ea8ceaac26c3a2c6e5ddbca15c8848fd5a5cc325f960da88d42974",
                "sha256:c503a0dd6ccac9c8c260b211f2dd4479c042b49636b097cc9a0d55fe62dff64c"
            ],
            "markers": "python_version >= '3.3'",
            "version": "==8.0.1"
        },
        "ipython-genutils": {
            "hashes": [
                "sha256:72dd37233799e619666c9f639a9da83c34013a73e8bbc79a7a6348d93c61fab8",
                "sha256:eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8"
            ],
            "version": "==0.2.0"
        },
        "ipywidgets": {
            "hashes": [
                "sha256:00974f7cb4d5f8d494c19810fedb9fa9b64bffd3cda7c2be23c133a1ad3c99c5",
                "sha256:d258f582f915c62ea91023299603be095de19afb5ee271698f88327b9fe9bf43"
            ],
            "version": "==7.6.5"
        },
        "iso8601": {
            "hashes": [
                "sha256:27f503220e6845d9db954fb212b95b0362d8b7e6c1b2326a87061c3de93594b1",
                "sha256:d7bc01b1c2a43b259570bb307f057abc578786ea734ba2b87b836c5efc5bd443"
            ],
            "markers": "python_full_version >= '3.6.2' and python_version < '4.0'",
            "version": "==1.0.2"
        },
        "jedi": {
            "hashes": [
                "sha256:637c9635fcf47945ceb91cd7f320234a7be540ded6f3e99a50cb6febdfd1ba8d",
                "sha256:74137626a64a99c8eb6ae5832d99b3bdd7d29a3850fe2aa80a4126b2a7d949ab"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==0.18.1"
        },
        "jinja2": {
            "hashes": [
                "sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8",
                "sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==3.0.3"
        },
        "joblib": {
            "hashes": [
                "sha256:4158fcecd13733f8be669be0683b96ebdbbd38d23559f54dca7205aea1bf1e35",
                "sha256:f21f109b3c7ff9d95f8387f752d0d9c34a02aa2f7060c2135f465da0e5160ff6"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==1.1.0"
        },
        "jsonschema": {
            "hashes": [
                "sha256:636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83",
                "sha256:77281a1f71684953ee8b3d488371b162419767973789272434bbc3f29d9c8823"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==4.4.0"
        },
        "jupyter-client": {
            "hashes": [
                "sha256:4ea61033726c8e579edb55626d8ee2e6bf0a83158ddf3751b8dd46b2c5cd1e96",
                "sha256:d56f1c57bef42ff31e61b1185d3348a5b2bcde7c9a05523ae4dbe5ee0871797c"
            ],
            "markers": "python_full_version >= '3.6.1'",
            "version": "==7.1.2"
        },
        "jupyter-core": {
            "hashes": [
                "sha256:d69baeb9ffb128b8cd2657fcf2703f89c769d1673c851812119e3a2a0e93ad9a",
                "sha256:f875e4d27e202590311d468fa55f90c575f201490bd0c18acabe4e318db4a46d"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==4.9.2"
        },
        "jupyterlab-pygments": {
            "hashes": [
                "sha256:abfb880fd1561987efaefcb2d2ac75145d2a5d0139b1876d5be806e32f630008",
                "sha256:cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146"
            ],
            "version": "==0.1.2"
        },
        "jupyterlab-widgets": {
            "hashes": [
                "sha256:7885092b2b96bf189c3a705cc3c412a4472ec5e8382d0b47219a66cccae73cfa",
                "sha256:f5d9efface8ec62941173ba1cffb2edd0ecddc801c11ae2931e30b50492eb8f7"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==1.0.2"
        },
        "kiwisolver": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==1.3.2"
        },
        "llvmlite": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version < '3.11' and python_version >= '3.7'",
            "version": "==0.38.0"
        },
        "markupsafe": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==2.1.0"
        },
        "matplotlib": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==3.5.1"
        },
        "matplotlib-inline": {
            "hashes": [
                "sha256:a04bfba22e0d1395479f866853ec1ee28eea1485c1d69a6faf00dc3e24ff34ee",
                "sha256:aed605ba3b72462d64d475a21a9296f400a19c4f74a31b59103d2a99ffd5aa5c"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==0.1.3"
        },
        "mistune": {
            "hashes": [
                "sha256:59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e",
                "sha256:88a1051873018da288eee8538d476dffe1262495144b33ecb586c4ab266bb8d4"
            ],
            "version": "==0.8.4"
        },
        "multidict": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==6.0.2"
        },
        "mypy-extensions": {
            "hashes": [
                "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d",
                "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"
            ],
            "version": "==0.4.3"
        },
        "nbclient": {
            "hashes": [
                "sha256:03e857bea3012377289daa1e1c1651f4fc0295bcd109ccd36a337efcdbebaed7",
                "sha256:751516992f34b58172bad54eef1e4bf7e4f4460d58e255ca1a4e5c9649476007"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==0.5.11"
        },
        "nbconvert": {
            "hashes": [
                "sha256:7b006ae9979af56200e7fa3db39d9d12c99e811e8843b05dbe518e5b754bcb2e",
                "sha256:eb2803db18f6facce6bf3b01b684fe47907994bd156d15eaccdf011e3d7f8164"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==6.4.2"
        },
        "nbformat": {
            "hashes": [
                "sha256:b516788ad70771c6250977c1374fcca6edebe6126fd2adb5a69aa5c2356fd1c8",
                "sha256:eb8447edd7127d043361bc17f2f5a807626bc8e878c7709a1c647abda28a9171"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==5.1.3"
        },
        "nest-asyncio": {
            "hashes": [
                "sha256:3fdd0d6061a2bb16f21fe8a9c6a7945be83521d81a0d15cff52e9edee50101d6",
                "sha256:f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==1.5.4"
        },
        "notebook": {
            "hashes": [
                "sha256:1e985c9dc6f678bdfffb9dc657306b5469bfa62d73e03f74e8defbf76d284312",
                "sha256:3e702fcc54b8ae597533c3864793b7a1e971dec9e112f67235828d8a798fd654"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==6.4.8"
        },
        "numba": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version < '3.11' and python_version >= '3.7'",
            "version": "==0.55.1"
        },
        "numpy": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version < '3.11' and python_version >= '3.7'",
            "version": "==1.21.5"
        },
        "osqp": {
            "hashes": [
                OMMITED
            ],
            "version": "==0.6.2.post5"
        },
        "packaging": {
            "hashes": [
                "sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb",
                "sha256:ef103e05f519cdc783ae24ea4e2e0f508a9c99b2d4969652eed6a2e1ea5bd522"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==21.3"
        },
        "pandas": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_full_version >= '3.7.1'",
            "version": "==1.3.0"
        },
        "pandocfilters": {
            "hashes": [
                "sha256:0b679503337d233b4339a817bfc8c50064e2eff681314376a47cb582305a7a38",
                "sha256:33aae3f25fd1a026079f5d27bdd52496f0e0803b3469282162bafdcbdf6ef14f"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
            "version": "==1.5.0"
        },
        "parso": {
            "hashes": [
                "sha256:8c07be290bb59f03588915921e29e8a50002acaf2cdc5fa0e0114f91709fafa0",
                "sha256:c001d4636cd3aecdaf33cbb40aebb59b094be2a74c556778ef5576c175e19e75"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==0.8.3"
        },
        "pathspec": {
            "hashes": [
                "sha256:7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a",
                "sha256:e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1"
            ],
            "version": "==0.9.0"
        },
        "patsy": {
            "hashes": [
                "sha256:5053de7804676aba62783dbb0f23a2b3d74e35e5bfa238b88b7cbf148a38b69d",
                "sha256:cc80955ae8c13a7e7c4051eda7b277c8f909f50bc7d73e124bc38e2ee3d95041"
            ],
            "version": "==0.5.2"
        },
        "pexpect": {
            "hashes": [
                "sha256:0b48a55dcb3c05f3329815901ea4fc1537514d6ba867a152b581d69ae3710937",
                "sha256:fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"
            ],
            "markers": "sys_platform != 'win32'",
            "version": "==4.8.0"
        },
        "pickleshare": {
            "hashes": [
                "sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca",
                "sha256:9649af414d74d4df115d5d718f82acb59c9d418196b7b4290ed47a12ce62df56"
            ],
            "version": "==0.7.5"
        },
        "pillow": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==9.0.1"
        },
        "platformdirs": {
            "hashes": [
                "sha256:30671902352e97b1eafd74ade8e4a694782bd3471685e78c32d0fdfd3aa7e7bb",
                "sha256:8ec11dfba28ecc0715eb5fb0147a87b1bf325f349f3da9aab2cd6b50b96b692b"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==2.5.0"
        },
        "plotly": {
            "hashes": [
                "sha256:20277d211ea0e00e2a86d31e9f865a1ab45a7b17576f3bb865992ecbf15db093",
                "sha256:d86e44ebde38f4753dff982ab9b5e03cf872aab8fdf53a403e999ed378154331"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==5.6.0"
        },
        "INTERNAL-PACKAGE": {
            "hashes": [
                "sha256:9160949fc99ae331b842a673c7fc94ab31c8618109e26a78e5cf8bb6059c647b",
                "sha256:b7d2e60ce749c41415c3767e4bb56188a7575c293b0de2a7019b247ad592d584"
            ],
            "index": "pypi",
            "version": "==3.1.4"
        },
        "prometheus-client": {
            "hashes": [
                "sha256:357a447fd2359b0a1d2e9b311a0c5778c330cfbe186d880ad5a6b39884652316",
                "sha256:ada41b891b79fca5638bd5cfe149efa86512eaa55987893becd2c6d8d0a5dfc5"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==0.13.1"
        },
        "prompt-toolkit": {
            "hashes": [
                "sha256:30129d870dcb0b3b6a53efdc9d0a83ea96162ffd28ffe077e94215b233dc670c",
                "sha256:9f1cd16b1e86c2968f2519d7fb31dd9d669916f515612c269d14e9ed52b51650"
            ],
            "markers": "python_full_version >= '3.6.2'",
            "version": "==3.0.28"
        },
        "property-cached": {
            "hashes": [
                "sha256:135fc059ec969c1646424a0db15e7fbe1b5f8c36c0006d0b3c91ba568c11e7d8",
                "sha256:3e9c4ef1ed3653909147510481d7df62a3cfb483461a6986a6f1dcd09b2ebb73"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==1.6.4"
        },
        "ptyprocess": {
            "hashes": [
                "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35",
                "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
            ],
            "version": "==0.7.0"
        },
        "pure-eval": {
            "hashes": [
                "sha256:01eaab343580944bc56080ebe0a674b39ec44a945e6d09ba7db3cb8cec289350",
                "sha256:2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3"
            ],
            "version": "==0.2.2"
        },
        "pycparser": {
            "hashes": [
                "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9",
                "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"
            ],
            "version": "==2.21"
        },
        "pygments": {
            "hashes": [
                "sha256:44238f1b60a76d78fc8ca0528ee429702aae011c265fe6a8dd8b63049ae41c65",
                "sha256:4e426f72023d88d03b2fa258de560726ce890ff3b630f88c21cbb8b2503b8c6a"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==2.11.2"
        },
        "pyparsing": {
            "hashes": [
                "sha256:18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea",
                "sha256:a6c06a88f252e6c322f65faf8f418b16213b51bdfaece0524c1c1bc30c63c484"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==3.0.7"
        },
        "pyrsistent": {
            "hashes": [
               OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==0.18.1"
        },
        "python-dateutil": {
            "hashes": [
                "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86",
                "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'",
            "version": "==2.8.2"
        },
        "pytz": {
            "hashes": [
                "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c",
                "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326"
            ],
            "version": "==2021.3"
        },
        "pyzmq": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.6'",
            "version": "==22.3.0"
        },
        "qdldl": {
            "hashes": [
                OMMITED
            ],
            "version": "==0.1.5.post0"
        },
        "requests": {
            "hashes": [
                "sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61",
                "sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'",
            "version": "==2.27.1"
        },
        "riskfolio-lib": {
            "hashes": [
                "sha256:01abe4808ab07257c7eba5fe4910b4a5e14a98d362c9f118e8d0df9e69d21f1f",
                "sha256:254819c6c24127ee9d6a84dacaf02eac0c34b8a9a1e948f529d03620c4831aee"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==0.4.0"
        },
        "sanpy": {
            "hashes": [
                "sha256:34ce3a59c726177ed6a70e128c49b9e2dfd517e98b9569e0d4f67b956920e465",
                "sha256:5370855983a12b5c3e05188f5c84300cad673882e8ab63af1822c3e4d69af9fc"
            ],
            "version": "==0.8.12"
        },
        "scikit-learn": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==1.0.2"
        },
        "scipy": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version < '3.11' and python_version >= '3.8'",
            "version": "==1.8.0"
        },
        "scs": {
            "hashes": [
                OMMITED
            ],
            "version": "==3.1.0"
        },
        "send2trash": {
            "hashes": [
                "sha256:d2c24762fd3759860a0aff155e45871447ea58d2be6bdd39b5c8f966a0c99c2d",
                "sha256:f20eaadfdb517eaca5ce077640cb261c7d2698385a6a0f072a4a5447fd49fa08"
            ],
            "version": "==1.8.0"
        },
        "setuptools": {
            "hashes": [
                "sha256:2347b2b432c891a863acadca2da9ac101eae6169b1d3dfee2ec605ecd50dbfe5",
                "sha256:e4f30b9f84e5ab3decf945113119649fec09c1fc3507c6ebffec75646c56e62b"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==60.9.3"
        },
        "six": {
            "hashes": [
                "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
                "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'",
            "version": "==1.16.0"
        },
        "stack-data": {
            "hashes": [
                "sha256:45692d41bd633a9503a5195552df22b583caf16f0b27c4e58c98d88c8b648e12",
                "sha256:999762f9c3132308789affa03e9271bbbe947bf78311851f4d485d8402ed858e"
            ],
            "version": "==0.2.0"
        },
        "statsmodels": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.7'",
            "version": "==0.13.2"
        },
        "tenacity": {
            "hashes": [
                "sha256:43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f",
                "sha256:f78f4ea81b0fabc06728c11dc2a8c01277bfc5181b321a4770471902e3eb844a"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==8.0.1"
        },
        "terminado": {
            "hashes": [
                "sha256:5b82b5c6e991f0705a76f961f43262a7fb1e55b093c16dca83f16384a7f39b7b",
                "sha256:f446b522b50a7aa68b5def0a02893978fb48cb82298b0ebdae13003c6ee6f198"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==0.13.1"
        },
        "testpath": {
            "hashes": [
                "sha256:1acf7a0bcd3004ae8357409fc33751e16d37ccc650921da1094a86581ad1e417",
                "sha256:8044f9a0bab6567fc644a3593164e872543bb44225b0e24846e2c89237937589"
            ],
            "markers": "python_version >= '3.5'",
            "version": "==0.5.0"
        },
        "threadpoolctl": {
            "hashes": [
                "sha256:8b99adda265feb6773280df41eece7b2e6561b772d21ffd52e372f999024907b",
                "sha256:a335baacfaa4400ae1f0d8e3a58d6674d2f8828e3716bb2802c44955ad391380"
            ],
            "markers": "python_version >= '3.6'",
            "version": "==3.1.0"
        },
        "tomli": {
            "hashes": [
                "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc",
                "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==2.0.1"
        },
        "tornado": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.5'",
            "version": "==6.1"
        },
        "traitlets": {
            "hashes": [
                "sha256:059f456c5a7c1c82b98c2e8c799f39c9b8128f6d0d46941ee118daace9eb70c7",
                "sha256:2d313cc50a42cd6c277e7d7dc8d4d7fedd06a2c215f78766ae7b1a66277e0033"
            ],
            "markers": "python_version >= '3.7'",
            "version": "==5.1.1"
        },
        "typing-extensions": {
            "hashes": [
                "sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42",
                "sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2"
            ],
            "markers": "python_version < '3.10'",
            "version": "==4.1.1"
        },
        "urllib3": {
            "hashes": [
                "sha256:000ca7f471a233c2251c6c7023ee85305721bfdf18621ebff4fd17a8653427ed",
                "sha256:0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c"
            ],
            "markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4' and python_version < '4.0'",
            "version": "==1.26.8"
        },
        "vectorbt": {
            "hashes": [
                "sha256:5c58cc85c0ecdb47637c912e8027032ddc84c1d243f01f47925f8e2414300916"
            ],
            "markers": "python_version >= '3.6' and python_version < '3.9'",
            "version": "==0.15.5"
        },
        "wcwidth": {
            "hashes": [
                "sha256:beb4802a9cebb9144e99086eff703a642a13d6a0052920003a230f3294bbe784",
                "sha256:c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83"
            ],
            "version": "==0.2.5"
        },
        "webencodings": {
            "hashes": [
                "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78",
                "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923"
            ],
            "version": "==0.5.1"
        },
        "widgetsnbextension": {
            "hashes": [
                "sha256:763a9fdc836d141fa080005a886d63f66f73d56dba1fb5961afc239c77708569",
                "sha256:e0731a60ba540cd19bbbefe771a9076dcd2dde90713a8f87f27f53f2d1db7727"
            ],
            "version": "==3.5.2"
        },
        "xlsxwriter": {
            "hashes": [
                "sha256:1aa65166697c42284e82f5bf9a33c2e913341eeef2b262019c3f5b5334768765",
                "sha256:53005f03e8eb58f061ebf41d5767c7495ee0772c2396fe26b7e0ca22fa9c2570"
            ],
            "markers": "python_version >= '3.4'",
            "version": "==3.0.2"
        },
        "yarl": {
            "hashes": [
                OMMITED
            ],
            "markers": "python_version >= '3.6'",
            "version": "==1.7.2"
        },
        "zipp": {
            "hashes": [
                "sha256:9f50f446828eb9d45b267433fd3e9da8d801f614129124863f9c51ebceafb87d",
                "sha256:b47250dd24f92b7dd6a0a8fc5244da14608f3ca90a5efcd37a3b1642fac9a375"
            ],
            "markers": "python_version < '3.10'",
            "version": "==3.7.0"
        }
    },
    "develop": {}
}

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:12

github_iconTop GitHub Comments

1reaction
Dzeri96commented, Apr 27, 2022

@matteius So I’ve just tried running pipenv install in the project and can confirm that I’m getting a hefty error trace (included in this comment). Although the underlying problem of dependencies in my project is still present, it has nothing to to with this issue, which can be successfully closed! Please just check if the subprocess is still running error is expected.

Thank you for working on it and I’m glad my report made pipenv a bit better.

Full trace
Installing initially failed dependencies...
[pipenv.exceptions.InstallError]: Looking in indexes: https://pypi.org/simple, https://PRIVATE_REPO
[pipenv.exceptions.InstallError]: Collecting llvmlite==0.38.0
[pipenv.exceptions.InstallError]:   Using cached llvmlite-0.38.0.tar.gz (129 kB)
[pipenv.exceptions.InstallError]:   Preparing metadata (setup.py): started
[pipenv.exceptions.InstallError]:   Preparing metadata (setup.py): finished with status 'done'
[pipenv.exceptions.InstallError]: Building wheels for collected packages: llvmlite
[pipenv.exceptions.InstallError]:   Building wheel for llvmlite (setup.py): started
[pipenv.exceptions.InstallError]:   Building wheel for llvmlite (setup.py): finished with status 'error'
[pipenv.exceptions.InstallError]:   Running setup.py clean for llvmlite
[pipenv.exceptions.InstallError]: Failed to build llvmlite
[pipenv.exceptions.InstallError]: Installing collected packages: llvmlite
[pipenv.exceptions.InstallError]:     Running setup.py install for llvmlite: started
[pipenv.exceptions.InstallError]:     Running setup.py install for llvmlite: finished with status 'error'
[pipenv.exceptions.InstallError]: ERROR: Command errored out with exit status 1:
[pipenv.exceptions.InstallError]:    command: /Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/setup.py'"'"'; __file__='"'"'/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/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 /private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-wheel-ci5y51y_
[pipenv.exceptions.InstallError]:        cwd: /private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/
[pipenv.exceptions.InstallError]:   Complete output (11 lines):
[pipenv.exceptions.InstallError]:   running bdist_wheel
[pipenv.exceptions.InstallError]:   /Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/bin/python /private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/ffi/build.py
[pipenv.exceptions.InstallError]:   LLVM version... Traceback (most recent call last):
[pipenv.exceptions.InstallError]:     File "/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/ffi/build.py", line 220, in <module>
[pipenv.exceptions.InstallError]:       main()
[pipenv.exceptions.InstallError]:     File "/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/ffi/build.py", line 214, in main
[pipenv.exceptions.InstallError]:       main_posix('osx', '.dylib')
[pipenv.exceptions.InstallError]:     File "/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/ffi/build.py", line 134, in main_posix
[pipenv.exceptions.InstallError]:       raise RuntimeError(msg) from None
[pipenv.exceptions.InstallError]:   RuntimeError: Could not find a `llvm-config` binary. There are a number of reasons this could occur, please see: https://llvmlite.readthedocs.io/en/latest/admin-guide/install.html#using-pip for help.
[pipenv.exceptions.InstallError]:   error: command '/Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/bin/python' failed with exit code 1
[pipenv.exceptions.InstallError]:   ----------------------------------------
[pipenv.exceptions.InstallError]:   ERROR: Failed building wheel for llvmlite
[pipenv.exceptions.InstallError]:     ERROR: Command errored out with exit status 1:
[pipenv.exceptions.InstallError]:      command: /Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/setup.py'"'"'; __file__='"'"'/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/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 /private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-record-k02mlb81/install-record.txt --single-version-externally-managed --compile --install-headers /Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/include/site/python3.8/llvmlite
[pipenv.exceptions.InstallError]:          cwd: /private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/
[pipenv.exceptions.InstallError]:     Complete output (16 lines):
[pipenv.exceptions.InstallError]:     running install
[pipenv.exceptions.InstallError]:     /Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
[pipenv.exceptions.InstallError]:       warnings.warn(
[pipenv.exceptions.InstallError]:     running build
[pipenv.exceptions.InstallError]:     got version from file /private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/llvmlite/_version.py {'version': '0.38.0', 'full': 'f0365b91ce1e1f74c68785c6d0067f32f89857d9'}
[pipenv.exceptions.InstallError]:     running build_ext
[pipenv.exceptions.InstallError]:     /Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/bin/python /private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/ffi/build.py
[pipenv.exceptions.InstallError]:     LLVM version... Traceback (most recent call last):
[pipenv.exceptions.InstallError]:       File "/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/ffi/build.py", line 220, in <module>
[pipenv.exceptions.InstallError]:         main()
[pipenv.exceptions.InstallError]:       File "/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/ffi/build.py", line 214, in main
[pipenv.exceptions.InstallError]:         main_posix('osx', '.dylib')
[pipenv.exceptions.InstallError]:       File "/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/ffi/build.py", line 134, in main_posix
[pipenv.exceptions.InstallError]:         raise RuntimeError(msg) from None
[pipenv.exceptions.InstallError]:     RuntimeError: Could not find a `llvm-config` binary. There are a number of reasons this could occur, please see: https://llvmlite.readthedocs.io/en/latest/admin-guide/install.html#using-pip for help.
[pipenv.exceptions.InstallError]:     error: command '/Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/bin/python' failed with exit code 1
[pipenv.exceptions.InstallError]:     ----------------------------------------
[pipenv.exceptions.InstallError]: ERROR: Command errored out with exit status 1: /Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/setup.py'"'"'; __file__='"'"'/private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-install-fgve494t/llvmlite_e3d6d363d7044e7dada533d6767c9ea8/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 /private/var/folders/0h/nr2psp496lb0n598s75fxq3c0000gn/T/pip-record-k02mlb81/install-record.txt --single-version-externally-managed --compile --install-headers /Users/dzeri/.local/share/virtualenvs/quant-pipenv-test-_9li6w8S/include/site/python3.8/llvmlite Check the logs for full command output.
ERROR: Couldn't install package: llvmlite
 Package installation failed...
  ☤  ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 2/3 — 00:00:13
/opt/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 49172 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=6 encoding='utf-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=9 encoding='utf-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
1reaction
delwatermancommented, Apr 26, 2022

@delwaterman Your issue is more closely related to revised index restricted packages security feature. There are some threads that would be helpful to review: #5053 #5054

@matteius Thank you! Switching the order of the sources solved the underlying issue for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix locking failed in pipenv? - Stack Overflow
The error you get when you first run pipenv install with pipenv version ... Here are some steps we followed, while we faced...
Read more >
Common Pipenv Errors and How to Solve Them: Why Won't it ...
The second most common reason locking fails is that we attempt to install a package that is a pre-release version. You can resolve...
Read more >
Locking is not possible in the directory when running in group ...
The error message is: Locking is not possible in the directory "{IM_HOME}/eclipse/configuration/org.eclipse.osgi". A common reason is that ...
Read more >
Error Message "Locking Failed; Organizational Center XYZ is ...
During the replication of cost centers, you get the error message "Locking failed; organizational center XYZ is locked by SAP_SYSTEM" (where XYZ stands...
Read more >
Customize Lock Error Messages - Auth0
Customizing error messages with Lock v11. ... "too_many_attempts": "Custom message indicating the user has failed to login too many times.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found