Giter Site home page Giter Site logo

Comments (8)

davidbrochart avatar davidbrochart commented on August 23, 2024

It looks like this happens when restarting the kernel?

from akernel.

stefaneidelloth avatar stefaneidelloth commented on August 23, 2024

Already happens when opening the notebook. Might be a general issue with asyncio and Windows?

=>Does akernel support Windows at all?

from akernel.

davidbrochart avatar davidbrochart commented on August 23, 2024

=>Does akernel support Windows at all?

It has never been tested, and I don't have a Windows machine.

from akernel.

stefaneidelloth avatar stefaneidelloth commented on August 23, 2024

I tried to upgrade pyzmq to version 22.3.0 and the error message changes to a warning:

image

And there is still no cell output.

from akernel.

stefaneidelloth avatar stefaneidelloth commented on August 23, 2024

It has never been tested, and I don't have a Windows machine.

Thank you for the clarification.

from akernel.

davidbrochart avatar davidbrochart commented on August 23, 2024

I tested v0.1.15 on a Windows machine with Python 3.9 and didn't see any issue. Could you try with this version?
Also, I can see you are using winpython, I used a conda environment, but I'm not sure it could be related.

from akernel.

stefaneidelloth avatar stefaneidelloth commented on August 23, 2024

Thank you. I updated some libraries.
Following config worked for me

  • Python 3.9.4
  • akernel 0.0.15
  • asyncio 3.4.3
  • tornado 6.1
  • zmq 0.0.0
  • pyzmq 22.3.0

after I put following code at top of the notebook:

import asyncio
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

Or, as an alternative, uninstall the packages zmq and asyncio

  • zmq seems to cause the issue (akernel uses pyzmq).
  • installation of asyncio is not required for python 3.9 cause asyncio is included in stdlib.

from akernel.

davidbrochart avatar davidbrochart commented on August 23, 2024

Great!
BTW, what does asyncio 3.4.3 mean?

from akernel.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.