Select local .venv
Hello,
I see that there's the option to select "Local Python" but then how can you select the right one? Which in my case is the one in the folder with the jupyter notebook.
Also would it be possible to add relative numbers?
Thanks for the help!
Another issue I have is that euporie is not working inside a tmux session
Hi,
-
I'd reccomend installing
ipykernelinside your virtual environment:uv pip install ipykernelthen registering the kernel:
uv run python -m ipykernel install --user --name=my-kerneland selecting that kernel in euporie.
The
local-pythonkernel uses the same Python environment that euporie is running in, so if you really want to use it just install euporie in your virtual environment and run it from there:uv run --with euporie euporie-notebook
- Do you mean relative line numbering? I think that should be possible.
- Can you give me some more detail about what happens when you try to run euporie in tmux?
It runs fine for me in tmux, so I'll need a bit more information than "it's not working" to be able to help
- Please describe what actually happens when you try to run it
- What error messages do you get, if any?
- Can you share your tmux configuration?
- Can you share the debug log output from euporie?
(Run euporie using
euporie-notebook --log-level=debug --log-file=log.log)
Hey @joouha,
Yes, sorry for the low quality of my statements, I will try to be more precise now:
- Local Python (SOLVED):
If I want to run my notebook with a local .venv I have to use this command:
uv run --with euporie euporie-notebook notebook.ipynb
- Yes, since one of the reason why I want to use euporie is that it runs in the terminal, I was wondering if it was possible to bring it as close as possible to a "vim like" experience. So relative line numbers would be great (plus global number for current line)
- When I try to open euporie inside a tmux session it get's way slower (a lot of the times I'm stuck at select the kernel option)
In this case I can see it is stuck at rendering 36%
Those are the associated logs:
2025-12-08 22:04:54.622 INFO [euporie.core.app.app.open_file:665] Opening file TP1_LQR.ipynb
2025-12-08 22:04:54.623 DEBUG [euporie.core.app.app.get_file_tabs:598] File TP1_LQR.ipynb has mime type: application/x-ipynb+json
2025-12-08 22:04:55.038 DEBUG [euporie.core.kernel.jupyter.start:334] Imported ipykernel to prevent import deadlock
2025-12-08 22:04:55.038 DEBUG [euporie.core.kernel.jupyter.start_async:213] Starting kernel
2025-12-08 22:04:55.066 INFO [euporie.core.kernel.jupyter.start_async:254] Started kernel python3
2025-12-08 22:04:55.067 DEBUG [euporie.core.kernel.jupyter.post_start:284] Waiting for kernel to become ready
2025-12-08 22:04:55.121 DEBUG [euporie.core.convert.datum.convert_async:286] Conversion step Converter(func=<function latex_to_png_py_mpl at 0x109c8f270>, filter_=Condition(functools.partial(<function have_modules.Datum(format='latex') to png using route ['latex', 'png'] at stage png
2025-12-08 22:04:55.154 INFO [euporie.core.lsp.log_message:1027] Pyright language server 1.1.405 starting
2025-12-08 22:04:55.154 INFO [euporie.core.lsp.log_message:1027] Server root directory: file:///opt/homebrew/lib/node_modules/pyright/dist
2025-12-08 22:04:55.206 INFO [euporie.core.lsp.log_message:1027] basedpyright language server 1.33.0 starting
2025-12-08 22:04:55.206 INFO [euporie.core.lsp.log_message:1027] Server root directory: file:///Users/matteo/.local/share/uv/tools/basedpyright/lib/python3.14/site-packages/basedpyright/dist
2025-12-08 22:04:55.356 INFO [euporie.core.lsp.log_message:1027] Starting service instance "
I've added a new option to enable relative line numbers called relative_line_numbers.
Thanks for sharing the debug log - I'll look into the tmux issue.
Does the problem occur when opening a blank notebook, or only the TP1_LQR.ipynb file mentioned?
@joouha thanks for the addition!
Yes, I've tried with other notebooks and I get the same problem (rendering get stuck) and I'm not able to use the notebook anymore, forcing me to quit the terminal.