Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zhumphreyslwf opened this issue Mar 3, 2025 · 1 comment
Open

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

zhumphreyslwf opened this issue Mar 3, 2025 · 1 comment

Comments

@zhumphreyslwf
Copy link

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.

@julian-parker
Copy link
Collaborator

Looks like it's related to pypesq, which we've noticed has issues in some environments. I'd suggest removing pypesq from the requirements, and installing the repo locally from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants