Skip to content
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

[BUG]: Cannot go past Requirements.txt ERROR: Failed to build installable wheels for some pyproject.toml based projects (Levenshtein) #1087

Open
BOOROCK opened this issue Feb 7, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@BOOROCK
Copy link

BOOROCK commented Feb 7, 2025

Describe the bug

Levenshtein wheel cannot be installed

Steps to reproduce

Image

Expected behavior

It should have built Levenshtein

Actual behavior

Failed to build installable wheels for some pyproject.toml based projects (Levenshtein)

Branch

main

Branch name

No response

Python version

3.10 (downgraded from 3.12)

LLM Used

No response

Model used

No response

Additional context

I'm having an issue on installing requirements. In command prompt with admin privileges I've come through requirements step with no issues. I've also successfully installed Visual Studio desktop development with C++. However when I try to install dependencies from requirements.txt the setup will end in building Levenshtein repository. So, it stops there. Tried to discuss in Telegram group as well however I wasn't allowed to post messages there. So, please help me regarding this issue. Detailed screenshots of each step leading to error are shown below.

Image

Image

Image

Image

@BOOROCK BOOROCK added the bug Something isn't working label Feb 7, 2025
@BOOROCK BOOROCK changed the title [BUG]: <Cannot go past Requirements.txt ERROR: Failed to build installable wheels for some pyproject.toml based projects (Levenshtein)> [BUG]: Cannot go past Requirements.txt ERROR: Failed to build installable wheels for some pyproject.toml based projects (Levenshtein) Feb 7, 2025
@agkishan9811
Copy link

I do face the same problem.

@Xist3nce
Copy link

It seems Levenshtein isn't yet compatible with Python 3.13, The _PyLong_AsByteArray function signature changed in Python 3.13, and the python-Levenshtein package hasn't been updated to reflect this causing the Cmake instructions to fail. You'll need to clear that environment and install Python 3.12 and run it again.

@acoustic-git-tar
Copy link

As of today, Levenshtein is compatible with Python 3.13, but requirements.txt should be updated. Updating the relevant package in requirements.txt to Levenshtein==0.26.1 should temporarily resolve the issue. I suggest the author to update this too.

@azamakhan
Copy link

As of today, Levenshtein is compatible with Python 3.13, but requirements.txt should be updated. Updating the relevant package in requirements.txt to Levenshtein==0.26.1 should temporarily resolve the issue. I suggest the author to update this too.

This worked for me. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants