blender_notebook
blender_notebook copied to clipboard
Simplifying installation process with uv
Hi @cheng-chi, thanks a lot for this amazing project!
I recently discovered a way to simplify the installation process of blender_notebook using the package manager uv (open source, written in rust, and superfast).
with uv, it only takes these 2 lines to register blender as a notebook kernel:
uvx blender_notebook install --blender-exec="/Applications/Blender.app/Contents/MacOS/Blender"
uvx --python 3.11 jupyter lab
uv can be installed via curl -LsSf https://astral.sh/uv/install.sh | sh
-> https://docs.astral.sh/uv/getting-started/installation/
and to remove the kernel, one can run
uvx jupyter kernelspec list
uvx blender_notebook remove
uvx jupyter kernelspec list
Let me know if you accept contributions to this project, so maybe we can add a reference to the Readme.
Another thought:blender_notebook
is still running great on the latest blender version (v4.2 using python 3.11), but some of the readme text and some messages from the CLI are outdated.
Therefore, my second question: Do you have time and interest to update this package to reference the latest python and blender version? I think that this would only require updating some messages and shipping a new version to Pypi. Screenshot with the old message:
Looking forward to your thoughts on this!
I'll also present about Blender+Notebooks at BlenderCon in Amsterdam next week, and I'm planning to put a reference to this project in my talk.