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

Specify the version of python3 to use in repo docs #258

Closed
chris-hatton opened this issue Mar 18, 2023 · 2 comments
Closed

Specify the version of python3 to use in repo docs #258

chris-hatton opened this issue Mar 18, 2023 · 2 comments

Comments

@chris-hatton
Copy link

chris-hatton commented Mar 18, 2023

The default python3 on my system is 3.11.2 for which sentencepiece does not install.

Where Python toolchains in general seem fragile to minor version differences, specifying the exact expected Python version for newcomers (like me) will reduce frustration and make this work more accessible.

Specifying python3.9 on CLI worked for me; unsure if this was the intended version.

@LoganDark
Copy link
Contributor

LoganDark commented Mar 18, 2023

It's because the sentencepiece devs are stupid (Affectionate) and do not publish the needed build files to pypi. You have to use a version with a wheel, which for Windows on x86_64, is Python 3.10. You can see all the available wheels here, under "Built Distributions"

@prusnak
Copy link
Collaborator

prusnak commented Mar 18, 2023

Added a comment about Python version in #269

@prusnak prusnak closed this as completed Mar 18, 2023
Deadsg pushed a commit to Deadsg/llama.cpp that referenced this issue Dec 19, 2023
Change docker build dynamic param to image instead of cuda version
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

3 participants