-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Unable to install sentencepiece on Python 3.12 #932
Labels
Comments
Not sure if you are willing to consider conda, but we've had 3.12 builds of sentencepiece in conda-forge for almost two month now.
|
2 tasks
2 tasks
It worked for me after installing and removing cmake as a pip package. Here's a wheel, in case its useful: |
Fixed in v0.2.0 |
melihsozdinler
added a commit
to melihsozdinler/LLaVA
that referenced
this issue
Jul 11, 2024
Update for sentencepiece 0.1.99 problem google/sentencepiece#932
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
When I run
pip install sentencepiece
, I get the following error:So it seems like the installation process of sentencepiece calls a
build_bundled.sh
script, which internally usescmake
, for which permission is denied.System information
Python: 3.12.0
OS: Ubuntu 22.04.3
Notes
I think this issue is specific to Python 3.12:
pip install sentencepiece
works for me in a Python 3.11 environment.I think this may be related to the removal of
distutils
from Python 3.12 (see PEP 632).The text was updated successfully, but these errors were encountered: