From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: BUG org-babel-execute-src-block: No org-babel-execute function for python! Date: Tue, 26 Feb 2013 11:00:57 -0500 Message-ID: References: <512CBBC3.6000502@easy-emacs.de> <877glvyylc.fsf@bzg.ath.cx> <512CD7E1.7010903@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAMy4-0003uA-3e for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 11:01:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAMy2-0007nr-Q1 for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 11:01:24 -0500 Received: from mail-da0-f42.google.com ([209.85.210.42]:33484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAMy2-0007nQ-Kx for emacs-orgmode@gnu.org; Tue, 26 Feb 2013 11:01:22 -0500 Received: by mail-da0-f42.google.com with SMTP id z17so2081580dal.15 for ; Tue, 26 Feb 2013 08:01:21 -0800 (PST) In-Reply-To: <512CD7E1.7010903@easy-emacs.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?Q?Andreas_R=C3=B6hler?= Cc: Bastien , Nick Dokos , emacs-orgmode On Tue, Feb 26, 2013 at 10:42 AM, Andreas R=C3=B6hler wrote: > Am 26.02.2013 14:49, schrieb Bastien: > >> Hi Andreas, >> >> Andreas R=C3=B6hler 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 =3D 5 b =3D 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 >