emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] results from Python block not visible


From: Eric Schulte
Subject: Re: [O] results from Python block not visible
Date: Thu, 26 Jun 2014 12:36:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Daniel Clemente <address@hidden> 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

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