Since i am in an farm box i am using poetry to create python virtual environment.
I am using doom emacs as my emacs configuration.
org-babel-python-command is a variable defined in config.el.
Value
"python3"
org-babel-load-languages is a customizable variable defined in org.el.
Value
((emacs-lisp . t)
(shell . t)
(python . t)
(ipython . t)
(jupyter . t))
Original Value
((emacs-lisp . t))
so i have created ~/bin/jupyter~/bin/python and ~/bin/python3
which have something like this
#!/bin/bash
set -e
source ~/bin/scripts/emacs_python/.venv/bin/activate
~/bin/scripts/emacs_python/.venv/bin/jupyter $@
Traceback (most recent call last):
File "/home/scratch.rmondal_mobile/home/doom_emacs/.local/straight/build-29.1/ob-ipython/client.py", line 60, in <module>
c = create_client(args.conn_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/scratch.rmondal_mobile/home/doom_emacs/.local/straight/build-29.1/ob-ipython/client.py", line 43, in create_client
cf = find_connection_file('emacs-' + name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rmondal/bin/scripts/emacs_python/.venv/lib/python3.11/site-packages/jupyter_client/connect.py", line 233, in find_connection_file
raise OSError(msg)
OSError: Could not find 'emacs-default' in ['.', '/home/rmondal/.local/share/jupyter/runtime']
Hi
I am trying to set up ob-ipython for my emacs
Since i am in an farm box i am using poetry to create python virtual environment. I am using doom emacs as my emacs configuration.
so i have created
~/bin/jupyter
~/bin/python
and~/bin/python3
which have something like this
I have verified the following in my emacs
Result:
And
Result:
Result
I created
Error i got
Please advice. TIA.