You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run pathos to implement a parallel map where the function is a lambda. Strangely the below works from the command line, but the same code throws an OSError: could not extract source code exception when run from a Jupyter notebooks.
Eg. the below works when run from a command line (python 3.8)
I am trying to run pathos to implement a parallel map where the function is a lambda. Strangely the below works from the command line, but the same code throws an
OSError: could not extract source code
exception when run from a Jupyter notebooks.Eg. the below works when run from a command line (python 3.8)
But when run from a Jupyter notebook I get the following error:
A workaround seems to be the below. It work both in terminal and in a Jupyter notebook
(from here)
The text was updated successfully, but these errors were encountered: