[Tutor] Issue with running iPython

Anmol Sharma anmol.ece at gmail.com
Sun Jun 12 00:10:40 EDT 2022


I just installed python on win 10 and installed Anaconda distribution. I
get the following error while using ipython.Python error -
self._poll(timeout) RuntimeError: <overlapped.Overlapped object at <0>
still has pending operation at deallocation, process may crash
This error is coming without any code also. SO, if i just load ipython and
it taken me to ipython prompt, then If I just press "enter" multiple times,
it gives this error.

I also imported the necessary packages - import platform, asyncio if
platform.system() == 'Windows':
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

And then I just load ipython and without even writing any line of code, I
just press enter 2-3 times and I get this error -

(base) C:\Users\03987N744\Training_notebook>ipython -i --no-banner
enumerate_vs_range.py

In [1]:

In [1]:

In [1]:

Traceback (most recent call last): File
"C:\Users\Anaconda3\lib\asyncio\windows_events.py", line 439, in select
self._poll(timeout) RuntimeError: <_overlapped.Overlapped object at
0x0000022127E19DB0> still has pending operation at deallocation, the
process may crash

-- Also, this seems to be specific to *i*python and jupyter notebooks... It
does not occur on python....


Regards

Anmol Sharma


More information about the Tutor mailing list