Comments (4)
Hello! I'm glad you like euporie
There seem to be three separate issues here:
-
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-installingipykernel
, then re-registering the kernel as follows:python -m ipykernel install --user
-
'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. -
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 requiredpython3.11-dev
andgcc
to be installed. Onceyarl
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.
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.
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.
Thank you for your quick reply, I will give this a try asap! :)
from euporie.
Related Issues (20)
- ImportError: cannot import name '_PosixFlavour' from 'pathlib' HOT 2
- Unable to display Latex on foot terminal HOT 7
- Autoformat is not working HOT 2
- Graphics rendering bugs HOT 1
- Latex printing from sympy shows `\displaystyle` and doesn't print using graphics HOT 1
- Custom keybindings for `euporie.notebook.tabs.notebook.Notebook` are not detected
- Scrolling through outputs with keyboard? HOT 3
- euproie makes ptpython not runnable due to an AssertionError HOT 2
- Euporie crashes upon loading notebook HOT 1
- "command" to go to a specific cell (by cell number and line number) HOT 3
- Not detecting kitty image support on Mac, falls back to ANSI HOT 2
- markdonw-it-py version conflict HOT 2
- Love this but it's not working
- Scrolling past top in vim normal mode replaces text HOT 2
- Hover widget displays filenames twice HOT 1
- Installation issues HOT 3
- Non-default color schemes obscure terminal graphics (e.g., Matplotlib plots) in Notebook HOT 3
- Doesn't start HOT 9
- Running `^[` in the console prints a `KeyError` HOT 1
- Error in console HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from euporie.