Skip to content
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

Simplifying installation process with uv #11

Open
kolibril13 opened this issue Oct 14, 2024 · 0 comments
Open

Simplifying installation process with uv #11

kolibril13 opened this issue Oct 14, 2024 · 0 comments

Comments

@kolibril13
Copy link
Member

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:

Image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant