Daniel Clemente <n142...@gmail.com> writes:

> Hi, this babel code recently stopped working on my system:
>
> #+BEGIN_SRC python :results output
> print "x"
> #+END_SRC
>
> It prints:
>
> #+RESULTS:
> : None
>
> I expected to see "x". This worked some days ago.
>

This works for me using the latest version of Org-mode with an Emacs
launched by running "make vanilla" from the base of the Org-mode repo.

Maybe the problem is in your configuration?

>
> If I use a command like os.system("xeyes"), I see it running.
>
> In addition I don't see the Python block highlighted
>
>
> GNU Emacs 24.4.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars) of 
> 2014-06-20 on la4
> org-mode from today
> Debian. Python 2.7 (same with Python 3).
> It also happens under emacs -Q
>
> Of course I loaded Python support:
>
> (org-babel-do-load-languages
>  'org-babel-load-languages
>  '((R . t)
>    (C . t)
> ; …
>    (python . t)
>    (ruby . t)
>    (sql . t)
>    (sqlite . t)))
>
>
> Greetings, Daniel
>

-- 
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D (see https://u.fsf.org/yw)

Reply via email to