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

"the type initializer for Delegates threw an exception" - using Create Runtime #2100

Open
vruetten opened this issue Jan 13, 2025 · 0 comments

Comments

@vruetten
Copy link

Hi all
I'm a newbie to Bonsai and am trying to get the "Create Runtime" node working.

I've tried following the documentation: https://bonsai-rx.org/python-scripting/?tabs=windows
but still run into an error.

I've installed python (v3.12.8). I created an environment as instructed via python -m venv .venv, activated it and tested that I could indeed launch python from the command line using this environment.
I then point the runtime node to this folder (with or without an empty script in the "ScriptPath") with or without the python environment activated and get the "Delegate" error.

Any ideas what I might be doing wrong?
Thanks in advance for any help.

I'm running

  • Windows 11 Pro
  • Bonsai 2.8.5
  • Python 3.12.8

Prior to this I attempted installing python via miniforge (and tried various versions of python) but couldn't get past this error.

Screenshot 2025-01-12 at 2 12 51 PM

Screenshot 2025-01-12 at 2 11 22 PM

b.com/user-attachments/assets/c9d84b98-d760-48fa-8f20-69e9c3c8fa09" />
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