Error "cannot find context for 'fork'" #453
Replies: 5 comments 8 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Hello, Thank you for your quick answer! unfortunately it did not work, unless I did something wrong. I've just open the jupiter notebook for the "simple cell" from this new folder of BluePyOpt... or should I install BluePyOpt again in python? Anyway, here is the full error message: ValueError Traceback (most recent call last) ~\AppData\Roaming\Python\Python39\site-packages\bluepyopt\ephys\protocols.py in run(self, cell_model, param_values, sim, isolate, timeout) ~\AppData\Roaming\Python\Python39\site-packages\bluepyopt\ephys\protocols.py in inner(self, cell_model, param_values, **kwargs) ~\AppData\Roaming\Python\Python39\site-packages\bluepyopt\ephys\protocols.py in run(self, cell_model, param_values, sim, isolate, timeout) C:\tools\Anaconda3\lib\multiprocessing\context.py in get_context(self, method) C:\tools\Anaconda3\lib\multiprocessing\context.py in get_context(self, method) ValueError: cannot find context for 'fork' Thank you again! |
Beta Was this translation helpful? Give feedback.
-
Solved! :) |
Beta Was this translation helpful? Give feedback.
-
Did it with or without the fix ? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to run the example codes of the jupiter notebooks but I obtain the error in the title of this post when I ask to run the cell with the line
responses = twostep_protocol.run(cell_model=simple_cell, param_values=default_params, sim=nrn)
Is it a problem of the version of Python? I'm running Anaconda with Python 3.9 and NEURON 8.0. I've already managed to run the codes without any problem some time ago in other computer (Python 2.7) so this error confuses me.
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions