Skip to content

Clean installation fails - WSL2, Python 3.10.12/3.12.5 #12

Description

@zhumphreyslwf

Using clean installation in a Python 3.10.12 venv and using just the commands:

pip install stable-codec
pip install -U flash-attn --no-build-isolation

results in the stable-codec installation failing with:

Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
...
file numpy.py (for module numpy) not found
...
AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__'
...
error: metadata-generation-failed

and happens with both numpy 1.X.X and 2.X.X.

Full install log:
install_stable_codec_fail.txt

Any pointers would be super helpful! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions