-
-
Notifications
You must be signed in to change notification settings - Fork 304
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
Python 3.12 not supported #538
Comments
then try to install again p.s. 2 days ago were merged changes required for successful run on v3.12 python. p.p.s. for Apple Silicon should be used CPU only version |
Install with virtual environment, exec it in project folder, not in your HOME dir
|
I created a new Conda environment with Python 3.12 on an Apple Silicon Mac, installed JupyterLab 4.0.11, and I tried to run
|
@OleksandrKucherenko Are you using Apple Silicon locally? Were you able to install using a wheel that works with these processors? kyamagu/faiss-wheels#87 remains open. |
kyamagu/faiss-wheels#87 was completed last week, so once its new version is published, we should be able to add Python 3.12 support. |
Once the issue closed i'll upgrade the notebook and let you know here 👍 |
Progress is being made on this issue.
Link to upstream issue: kyamagu/faiss-wheels#87 |
Yup, and I also saw the releaseNote of the latest Jupyter: it rocks 😎 |
If it's still fail, try to install vs_BuildTools.exe first. |
Thanks for feedbacks @JIZUSHANBOJUE , I'm giving it a try ⚡ |
⏳ Test in progress |
It's all 🙆♂️ I've switcher to latest available Kaggle runtime 3.12, see 🪄 Jupyter-AI magic 🙏 @JIZUSHANBOJUE for the tip |
Quick ping - if I'm reading this correctly, faiss 1.8.0 is now out with the required updates. Would it be possible to push up a release here so we can deploy in 3.12 environments that are conda/mamba-managed? No worries if something else is holding things up, but if not, I'd love to have it more widely available :) Thanks team for the great work! |
ready to upgrade my test env 😎 |
Hi folks, checking in - the conda/mamba install under a 3.12 environment still fails to resolve... If I read the error log correctly, the problem is a pin on tiktoken < 0.4.0, which is incompatible with py3.12... I tested this in a freshly created conda/mamba environment that only had py3.12 in it, and nothing else, to be sure the incompatibilities weren't being triggered by any other package in my (large) regular env. Happy to provide further testing if useful, this was all on an intel Mac with conda-forge packages and using mamba as the client. |
The dependency on tiktoken was removed, but for me it now chokes on
channels:
- conda-forge
dependencies:
- python ==3.12 # when removing this pin, it completes fine with python 3.11.9
- jupyter-ai >=2.14.1 Result $ mamba env create -f environment.yml --name jupyter-ai
conda-forge/osx-64 Using cache
conda-forge/noarch Using cache
pkgs/main/osx-64 No change
pkgs/main/noarch No change
pkgs/r/osx-64 No change
pkgs/r/noarch No change
Looking for: ['python==3.12', "jupyter-ai[version='>=2.14.1']"]
Encountered problems while solving:
- package jupyter-ai-2.14.1-pyhd8ed1ab_0 requires faiss-cpu, but none of the providers can be installed |
Yup, can confirm - the full log I get for a similar request is:
Please let us know if there's anything we could do to help, thanks for all the great work on this project! |
Unfortunately the latest release of Furthermore, there doesn't seem to be a way to specify a dependency to be installed only via |
Thanks a lot guys for the followup and giving up 🙏 |
I would love Python 3.12 support. What's the current status? |
@EwoutH @fperez @ltalirz @adriens As of Jupyter AI v2.19.0,
This pain point doesn't seem to be resolving itself anytime soon, so right now I'm exploring if I can manually define the Thank you all for your patience! PR link: conda-forge/jupyter-ai-feedstock#36 |
Thanks for the update @dlqqq! Unfortunate to see that issue with faiss, but I appreciate you looking for a workaround. |
I've updated the Jupyter AI feedstock to install Jupyter AI v2.19.0 now supports Python 3.12 when installed from either PyPI or Conda Forge! #898 adds Python 3.12 support to the documentation and will close this issue once merged. Thank you all for pushing on this issue! 🤗 |
Wonderful, just installed it in my 3.12 env and it went smoothly! I will report if I see any issues. Thanks again! |
Hi guys, sorry for late feedback. I'm running it right now ⚡ |
🙆♂️ 👌 🙏 👏 |
Awesome! Since Python 3.13 is already in beta, time to start working on the next one! |
Description
Attempting to install Jupyter AI on Python 3.12 is not supported, even though our recipe on
conda-forge
merely stipulatespython >=3.8
.The following error occurs when running
pip install jupyter_ai
with Python 3.12 on macOS 13.6.3 on an Apple Silicon processor:See also kyamagu/faiss-wheels#87 for the lack of Python 3.12 wheels for faiss-cpu.
The text was updated successfully, but these errors were encountered: