-
Notifications
You must be signed in to change notification settings - Fork 857
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
explicitly setting python version to 3.12 #445
Conversation
Added issue with some logs: #446 |
+1 on this. This will help alleviate a lot of confusion since at this point the repo only really works in 3.12. I have a recommend change though. How about adding:
|
@dtnewman great suggestion. Added to install.sh |
@AlexCheema this came up in the help channel yesterday. worth merging in? |
Should not be necessary after 2dafa9c Closing for now. Can you test that it works now with earlier version of Python? @cadenmackenzie |
@AlexCheema I am still getting an error when I use my default python version (3.13) and try to run Building wheel for sentencepiece (pyproject.toml) ... error × Building wheel for sentencepiece (pyproject.toml) did not run successfully. File "", line 87, in build_extension note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 24.2 -> 24.3.1 Different error than I was getting before but still not working |
Did you try upgrading pip as instructed in the message? |
@AlexCheema yes, still getting the error: cadenmackenzie@Caden-Macbook-Pro-14 exo % python3 --version × Building wheel for sentencepiece (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 24.2 -> 24.3.1 × Building wheel for sentencepiece (pyproject.toml) did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
As stated in the README you must use Python>=3.12.0 however I was not able to create a venv and install the packages with version Python 3.13.0. I had to explicitly set the version to 3.12 to create a successful venv.
Is this a valid solution for now or is it worth trying to fix the issues with 3.13?
I am using a Mac M1. I can create the issue I was experiencing with 3.13 if needed.