GithubHelp home page GithubHelp logo

Comments (4)

joouha avatar joouha commented on June 27, 2024 1

Hello! I'm glad you like euporie

There seem to be three separate issues here:

  1. Kernel died before replying to kernel_info error

    This is probably because your ipykernel install is messed up somehow. You can usually fix this by re-installing ipykernel, then re-registering the kernel as follows:

    python -m ipykernel install --user 
  2. 'NotebookApp' object has no attribute 'background_tasks' error

    I just noticed this myself yesterday - it's due to a change in the latest version of prompt_toolkit (v3.0.33). I've pushed a fix (67f64f6) and made a new release (v2.1.5), so if you upgrade euporie hopefully this will be fixed.

  3. GCC required to install euporie in Python 3.11

    The reason for this is that Python 3.11 was only released just over a month ago, and it takes time for package maintainers to build and release new wheels for packages with compiled components. This is why pip is having to compile some packages from source, and hence the need for GCC.

    I just tried installing euporie on Debian Bookworm with Python 3.11, and pip had to compile yarl from source, which required python3.11-dev and gcc to be installed. Once yarl releases wheels for 3.11, GCC should no longer be necessary. There is an issue for this here: aio-libs/yarl#781

I hope this helps

from euporie.

jessebot avatar jessebot commented on June 27, 2024 1

Very late responding but yes, with the latest version, and fixing my ipykernel for python3.11 (who knows what i did with that), we are good to go! Thank you for your help! :)

from euporie.

jessebot avatar jessebot commented on June 27, 2024

This also happens when installing Debian Bookworm with , however, at a later stage. It happens after I've run the following :

  • sudo apt install gcc-11
  • pip3.11 install --user euporie
  • pip3.11 install ipykernel
  • run euporie notebook command
  • create a new notebook with CTRL+n
  • add some content to a cell, in this case just print("hi friends") for testing
  • hit tab and then go to Run -> Run -> either option

Then it doesn't do anything, so I quit, and then there's the same error that was present on macOS, but in Debian this time:

2022-12-01 09:08:14 CRITICAL Uncaught exception              euporie.core.log.handle_exception:421                             Traceback (most recent call last):
                               File "/home/friend/.local/bin/euporie", line 8, in <module>
                                 sys.exit(main())
                                          ^^^^^^
                              File
                             "/home/friend/.local/lib/python3.11/site-packages/euporie/core/__mai…
                             , line 10, in main    return entry.load().launch()
                                        ^^^^^^^^^^^^^^^^^^^^^
                              File
                             "/home/friend/.local/lib/python3.11/site-packages/euporie/core/launc…
                             , line 32, in launch    main(app)
                              File
                             "/home/friend/.local/lib/python3.11/site-packages/euporie/core/__mai…
                             , line 10, in main    return entry.load().launch()
                                        ^^^^^^^^^^^^^^^^^^^^^
                              File
                             "/home/friend/.local/lib/python3.11/site-packages/euporie/core/app.p…
                             , line 534, in launch    return cls().run()
                                        ^^^^^^^^^^^
                              File
                             "/home/friend/.local/lib/python3.11/site-packages/prompt_toolkit/app…
                             , line 978, in run    return loop.run_until_complete(
                                        ^^^^^^^^^^^^^^^^^^^^^^^^
                              File
                             "/home/linuxbrew/.linuxbrew/opt/python@3.11/lib/python3.11/asyncio/b…
                             , line 650, in run_until_complete    return future.result()
                                        ^^^^^^^^^^^^^^^
                              File
                             "/home/friend/.local/lib/python3.11/site-packages/prompt_toolkit/app…
                             , line 891, in run_async    await self.
                             cancel_and_wait_for_background_tasks()  File
                             "/home/friend/.local/lib/python3.11/site-packages/euporie/core/app.p…
                             , line 832, in cancel_and_wait_for_background_tasks    for task in
                             self.background_tasks:                ^^^^^^^^^^^^^^^^^^^^^
                             AttributeError: 'NotebookApp' object has no attribute 'background_tas
                             ks'

from euporie.

jessebot avatar jessebot commented on June 27, 2024

Thank you for your quick reply, I will give this a try asap! :)

from euporie.

Related Issues (20)

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.