I’m having difficulty setting up the chat feature in Jupyter Notebook and connecting it to an AI model. I am on a Macbook with Sonoma 14.8.1. I’ve been interrogating AI assistants who have instructed me to load various files via the terminal. Has anyone been through this process successfully and can help? There seems to be no guidance in the course material. I’m very new to this type of environment i.e. Python, Notebooks etc
I am having the same problem, i prefer to work on my own machine. JupyterLab is working fine, But among the extension, I have just too many confusing options to select. I picked the chatgpt and it wont work. I will try and complete the course maybe i will get a hint.
It’s very frustrating. The course team has not offered advice. Basically without the chat assistant functioning there seems no point in proceeding as I can’t mimic the demonstrations and experiment with them as I don’t know enough about programming to go it alone!
I’ll ping the course staff.
I was able to finish off the course and found “How to Set Up Jupyter AI Locally?“ at the very end. You can jump to this first and see how it goes…still unable to get it working though…but the details there is very helpful…will be back to report how this goes.
Thanks will look at that.
Hi @Corzi thank you for sharing this!
Just for the info, which browser where you using in your Macbook (Sonoma 14.8.1)? and which other browsers have you also tested? That info will help us improve our learner’s experience as we go improving our platform! ![]()
Also, the instructions How to Set Up Jupyter AI Locally? are found in the same course!
I am having a different issue, on mac Tahoe. I was able to install the version of Jupyter that they recommend (pip3 install jupyter-ai==3.0.0b7), but I get this error on startup:
(jupyterenv) ~/VirtualPythonEnvs/jupyterenv/work > jupyter lab
Fail to get yarn configuration. /Users/rokec/VirtualPythonEnvs/jupyterenv/lib/python3.9/site-packages/jupyterlab/staging/yarn.js:4
(()=>{var Qge=Object.create;var AS=Object.defineProperty;var bge=Object.getOwn
SyntaxError: Unexpected token )
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
I also see this error in the terminal:
[W 2025-12-16 15:43:18.368 ServerApp] jupyter_ai | error adding extension (enabled: True): unsupported operand type(s) for |: ‘type’ and ‘NoneType’
It comes up, but then the Secrets area shows an error as well, and you cannot enter any Secrets:
**Jupyter Server requires JavaScript.
Please enable it to proceed.
Thank you for reporting! It seems like the image attached is not available anymore!
First, I’d recommend to check versions compatibility… probably there is an incompatibility between the version of Node.js installed on your system and the version of Yarn that JupyterLab is trying to use.
I also reported to the team!
I ended up upgrading my python from 3.9 to 3.13 and upgrading to a more recent version of node (v25). This solved the issue. Thanks!
Thanks for sharing your solution!
