chipyard icon indicating copy to clipboard operation
chipyard copied to clipboard

Numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform

Open ZechenM opened this issue 2 years ago • 1 comments

Background Work

Chipyard Version and Hash

Release: 1.5.0 Hash: a6a6a6

OS Setup

Ex: Output of uname -a + lsb_release -a + printenv + conda list

Linux tiger 5.15.0-100-generic #110~20.04.1-Ubuntu SMP Tue Feb 13 14:25:03 UTC 2024 x86_64 GNU/Linux

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.6 LTS
Release:        20.04
Codename:       focal

Other Setup

Ex: Prior steps taken / Documentation Followed / etc...

Current Behavior

INFO:root:
ERROR:root:ERROR: numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform.
ERROR:root:
ERROR:root:ERROR conda.cli.main_run:execute(125): `conda run pip install --no-deps -r /tmp/tmp0xin83so` failed. (See above for error)
INFO:root:Defaulting to user installation because normal site-packages is not writeable
INFO:root:Collecting bcrypt@ https://files.pythonhosted.org/packages/3e/d0/31938bb697600a04864246acde4918c4190a938f891fd11883eaaf41327a/bcrypt-4.2.0-cp39-abi3-manylinux_2_28_x86_64.whl#sha256=3d3a6d28cb2305b43feac298774b997e372e56c7c7afd90a12b3dc49b189151c (from -r /tmp/tmp0xin83so (line 1))
INFO:root:  Using cached bcrypt-4.2.0-cp39-abi3-manylinux_2_28_x86_64.whl (273 kB)
INFO:root:Collecting mock@ https://files.pythonhosted.org/packages/6b/20/471f41173930550f279ccb65596a5ac19b9ac974a8d93679bcd3e0c31498/mock-5.1.0-py3-none-any.whl#sha256=18c694e5ae8a208cdb3d2c20a993ca1a7b0efa258c247a1e565150f477f83744 (from -r /tmp/tmp0xin83so (line 3))
INFO:root:  Using cached mock-5.1.0-py3-none-any.whl (30 kB)
INFO:root:
Traceback (most recent call last):
  File "/home/zma/chipyard/.conda-lock-env/bin/conda-lock", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/conda_lock/conda_lock.py", line 1498, in click_install
    install(
    ~~~~~~~^
        conda=conda,
        ^^^^^^^^^^^^
    ...<10 lines>...
        extras=extras,
        ^^^^^^^^^^^^^^
    )
    ^
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/conda_lock/conda_lock.py", line 1552, in install
    install_func(file=lockfile)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/conda_lock/conda_lock.py", line 240, in do_conda_install
    _conda(["run"], ["pip", "install", "--no-deps", "-r", str(requirements_path)])
    ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/zma/chipyard/.conda-lock-env/lib/python3.13/site-packages/conda_lock/invoke_conda.py", line 143, in _invoke_conda
    raise subprocess.CalledProcessError(
    ...<4 lines>...
    )
conda_lock._vendor.poetry.utils._compat.CalledProcessError: Command '['/home/zma/miniforge3/bin/conda', 'run', '--prefix', '.conda-env', 'pip', 'install', '--no-deps', '-r', '/tmp/tmp0xin83so']' returned non-zero exit status 1.
build-setup.sh: Build script failed with exit code 1 at step 1: Conda environment setup

Expected Behavior

build-setup.sh should not get stuck here

Other Information

No response

ZechenM avatar Oct 12 '24 22:10 ZechenM

Hm, haven't seen this before. I think this looks like a python + pip error. Could you update pip and see if you are able to manually install packages (such as numpy)? And could you post the exact command you're building with. (It looks like there's stackoverflow topics about this though, so might help to try those first.)

Fi50 avatar May 31 '25 05:05 Fi50