Comments (5)
Okay I made some progress. So it looks like to install packages for the pipx environment one has to activate the venv and then run python -m pip install ipykernel
(not just pip install, otherwise won't install for venv)
Now when I open a notebook file the editor immediately print some error lines which disappear instantly so I can't read them and then shows the editor (I can type in it but I can't execute code, nor is the menu bar visible so I just quit by closing the entire terminal window)
from euporie.
There's quite a lot going on here!
Euporie does not pull in any Jupyter kernels as dependencies - it's a Jupyter client, but you need to install a kernel yourself.
A Jupyter kernel does not have to be Python - there are kernels for many programming languages. ipykernel
is a Jupyter kernel for the Python programming language. While it is technically possible to instally ipykernel
inside your euporie pipx virtual-environment, it's almost certainly not what you want to do (you might want to uninstall it from the pipx virtual-environment). You probably want your Python kernel to be installed in your system-wide Python prefix.
You can do this by running the following (without any virtual environment activated):
pip install --upgrade ipykernel
You then need to register this ipykernel
installation as your Python kernel of choice, which you can do by running the following:
python -m ipykernel install --user
Then you should be able to run code in euporie.
You can quit euporie
by pressing Ctrl + q.
from euporie.
Exactly the same procedure but including a final python -m ipykernel install --user
gives the following error message
(the copy traceback
button also doesn't do anything)
Any ideas how to provide good debugging information?
Also, iterm2
also doesn't allow for any keybinding to execute cells.
from euporie.
Also, iterm2 also doesn't allow for any keybinding to execute cells.
Ctrl+e and Ctrl+r should work.
Any ideas how to provide good debugging information?
If you run euporie-notebook
with --log-level=debug --log-file=euporie.log
, then debug info will be logged to the file euporie.log
.
The main cause of the kernel related errors (as described in #75) should have been fixed by 3a5e39f. I'll be making a new release with this pretty soon.
from euporie.
Should be fixed, please open a new issues if you're still experiencing problems with the latest version of euporie
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.