emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] BUG org-babel-execute-src-block: No org-babel-execute function f


From: Ista Zahn
Subject: Re: [O] BUG org-babel-execute-src-block: No org-babel-execute function for python!
Date: Tue, 26 Feb 2013 11:00:57 -0500

On Tue, Feb 26, 2013 at 10:42 AM, Andreas Röhler
<address@hidden> wrote:
> Am 26.02.2013 14:49, schrieb Bastien:
>
>> Hi Andreas,
>>
>> Andreas Röhler <address@hidden> 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
>



reply via email to

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