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

get_matlab() subsequent calls error #29

Open
casperdcl opened this issue Oct 24, 2022 · 0 comments
Open

get_matlab() subsequent calls error #29

casperdcl opened this issue Oct 24, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@casperdcl
Copy link
Member

lru_cache might not work as expected with ipykernel?

# lib.py
def some_function():
  import spm12
  eng = spm12.get_matlab()
  ...
# ipython
In[*]: import lib
In[*]: lib.some_function()
In[*]: import spm12
In[*]: spm12.get_matlab()  # error: cannot find matlab session
@casperdcl casperdcl added the bug Something isn't working label Oct 24, 2022
@casperdcl casperdcl self-assigned this Oct 24, 2022
@casperdcl casperdcl changed the title IPython support get_matlab subsequent calls error Oct 24, 2022
@casperdcl casperdcl changed the title get_matlab subsequent calls error get_matlab() subsequent calls error Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant