emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] ob-python specify :session error


From: address@hidden
Subject: Re: [O] ob-python specify :session error
Date: Fri, 29 Dec 2017 19:41:47 +0800

Still get same error:
> org-babel-python-evaluate-session: Buffer *Python-*Python** does not exist or has no process

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Fri, Dec 29, 2017 at 7:28 PM, Nicolas Goaziou <address@hidden> wrote:
Hello,

stardiviner <address@hidden> writes:

> I have following org content:
>
> I define variable in Python inferior REPL (launched by [M-x run-python])
>
> Python> name = "chris"
>
> #+begin_src python :session "*Python*"
> print(name)
> #+end_src
>
> But I got error:
>
>  > org-babel-python-evaluate-session: Buffer *Python-*Python** does not
> exist or has no process

Try this:

    #+begin_src python :session *Python* :results output
    print(name)
    #+end_src

    #+RESULTS:
    : chris


Regards,

--
Nicolas Goaziou


reply via email to

[Prev in Thread] Current Thread [Next in Thread]