pingouin icon indicating copy to clipboard operation
pingouin copied to clipboard

Problems with the combination Windows 11 - IPython - Jupyter

Open thomas-haslwanter opened this issue 2 years ago • 3 comments

When I put the line import pingouin as pg into a startup script in ~.ipython\profile_default\startup and then call jupyter qtconsole or jupyter lab in a terminal, IPython crashes (i.e. it hangs up during startup). Surprisingly, if I do NOT put that line into the startup script, I can execute it manually after startup without any problems. The problem did not show up in Windows 10.

Has anybody experienced similar problems?

Setup:

  • Win 11 Education N, Build 22000
  • Winpython 3.9.10
  • pingouin 0.5.1

thomas-haslwanter avatar Mar 25 '22 21:03 thomas-haslwanter

I work exclusively on Mac so I have never seen this issue 😕 Has anyone else experienced this problem?

raphaelvallat avatar Mar 26 '22 01:03 raphaelvallat

Any updates on this @thomas-haslwanter? Otherwise, I'll close the issue.

raphaelvallat avatar May 02 '22 22:05 raphaelvallat

It does NOT happen with Python 3.9.8., or with Python 3.9.8 (in both cases the WinPython distributions) with Python 3.9.10.

  • IPython starts up fine.
  • with "jupyter qtconsole", the console opens, but shows now further response.
  • with "jupyter lab", I eventually get the information "A connection to the Jupyter server could not be established. JupyterLab will continue trying to reconnect. Check your network connection or Jupyter server configuration."

So the problem is definitely version dependent, and a problem with the interaction jupyter & ipython.

I would leave the problem open for the moment. I will let you know when the next version of WinPython is out. If it still persists, I will look into it further.

thomas-haslwanter avatar May 06 '22 12:05 thomas-haslwanter