Bonsai and Python. Runtime Error: The type initializer for 'Delegates' threw an exception #2049
Unanswered
Michael-132-wq
asked this question in
Q&A
Replies: 1 comment
-
Solved. Using windows 11 I installed python from the app store AND installed the 64 bit version of python from the website and clicked "add to path" This removes gets rid of the delegate issue. Their is no need for virtual environments or selecting a python home |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to run a python script in my Bonsai work flow. I'm using create runtime with the script in the same directory as the bonsai folder. for python home I have left it blank. This set up works on my primary computer but does not work on my lab computer. I have attempted to mess with virtual environments but have not been able to make it work. I saw a few others with this error but the questions all went unanswered.
On my primary computer it ONLY works if I use no virtual environments, leave the python home field in create runtime blank and have the script with the modules im calling in the same folder as the bonsai work flow. This method does not work on another computer.
Has anyone found a solution to resolving this runtime delegate error?
Thank you,
Michale
Beta Was this translation helpful? Give feedback.
All reactions