From: Ista Zahn <istazahn@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: Bastien <bzg@altern.org>, Nick Dokos <nicholas.dokos@hp.com>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: BUG org-babel-execute-src-block: No org-babel-execute function for python!
Date: Tue, 26 Feb 2013 11:00:57 -0500 [thread overview]
Message-ID: <CA+vqiLHx+4VR62qeRHA8pbAVVYFogWQUOksiK0QjxTvsSETPOQ@mail.gmail.com> (raw)
In-Reply-To: <512CD7E1.7010903@easy-emacs.de>
On Tue, Feb 26, 2013 at 10:42 AM, Andreas Röhler
<andreas.roehler@easy-emacs.de> wrote:
> Am 26.02.2013 14:49, schrieb Bastien:
>
>> Hi Andreas,
>>
>> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>>
>>> org-babel-execute-src-block: No org-babel-execute function for python!
>>>
>>> When evaluating the following block C-c C-c starting from emacs -Q
>>
>>
>> You need
>>
>> (org-babel-do-load-languages
>> 'org-babel-load-languages
>> '((python . t)))
>>
>> See (info "(Org)Languages")
>>
>> HTH,
>>
>
> Bugs exists after loading that.
What is the nature of the bugs?
> Please tell if you need more info.
what is the result of 'M-x org-version'?
Also, try this simple test and report the results:
1. start emaces with emacs -q
2. visit a new file with a .org extension, e.g., tmp.org
3. paste this in:
8<--------------------cut here<--------------------8<
Place cursor in the code block below and press C-c C-c
#+begin_src emacs-lisp :exports none
(org-babel-do-load-languages
'org-babel-load-languages
'((python . t)))
#+end_src
#+BEGIN_SRC python :results output
a = 5
b = 16
print(a + b)
#+END_SRC
8<--------------------cut here<--------------------8<
4. place the cursor inside the first code block and press C-c C-c
5. place the cursor inside the second code block and press C-c C-c
6. let us know what happens
Best,
Ista
>
> Andreas
>
next prev parent reply other threads:[~2013-02-26 16:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-26 13:42 BUG org-babel-execute-src-block: No org-babel-execute function for python! Andreas Röhler
2013-02-26 13:48 ` Nick Dokos
2013-02-26 13:49 ` Bastien
2013-02-26 15:42 ` Andreas Röhler
2013-02-26 16:00 ` Bastien
2013-02-26 16:00 ` Ista Zahn [this message]
2013-02-26 19:34 ` Andreas Röhler
2013-02-26 19:50 ` Thomas S. Dye
2013-02-26 20:00 ` Andreas Röhler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+vqiLHx+4VR62qeRHA8pbAVVYFogWQUOksiK0QjxTvsSETPOQ@mail.gmail.com \
--to=istazahn@gmail.com \
--cc=andreas.roehler@easy-emacs.de \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.