davidbrochart / nbterm

Jupyter Notebooks in the terminal.
MIT License
756 stars 37 forks source link

Runtime Warning #67

Closed azinsharaf closed 2 years ago

azinsharaf commented 2 years ago

Thanks for writing this great tool!

I get the following warning when i open the notebook. Any idea?

C:\Users\asharaf\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\lib\site-packages\zmq\_future.py:679: RuntimeWarning: Proactor event loop does not implement add_reader family of methods required for zmq. Registering an additional selector thread for add_reader support via tornado. Use `asyncio.set_event_loop_policy(WindowsSelectorEventLoopPolicy())` to avoid this warning.       
  self._get_loop()   

image

davidbrochart commented 2 years ago

Thanks for the kind words! Maybe upgrade pyzmq and tornado?

azinsharaf commented 2 years ago

i upgraded both. Same warning.

davidbrochart commented 2 years ago

What versions of pyzmq and tornado do you have?

azinsharaf commented 2 years ago
# packages in environment at C:\Users\asharaf\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone:
#
# Name                    Version                   Build  Channel
tornado                   6.2              py39h2bbff1b_0  
pyzmq                     22.2.1                   py39_0    esri
$ python --version
Python 3.9.11
davidbrochart commented 2 years ago

Can you upgrade pyzmq to version 24?

azinsharaf commented 2 years ago

hi, same warning with pyzmq 24.0.1

azinsharaf commented 2 years ago

I will create a new vmenv and see what i get.