emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Doyley, Marvin M." <mdoyley@ur.rochester.edu>
To: Ista Zahn <istazahn@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Trouble using julia with org-babel
Date: Thu, 30 Oct 2014 19:54:58 +0000	[thread overview]
Message-ID: <6B9B832E-1F06-4014-A302-555080B8FDAC@ur.rochester.edu> (raw)
In-Reply-To: <CA+vqiLFG34Kg9wPWfKhJk7BzQz36e0=8D6d2FYLS_Ahj0O4u8g@mail.gmail.com>

Hi Ista,

It is now working for Winston, but I am having problems with PyPlot is the case for you ?

thanks
M

PS this is the error that I get when trying to load PyPlot

ERROR: could not load module python: dlopen(python.dylib, 9): image not found
 in pyinitialize at /Users/doyley/.julia/v0.3/PyCall/src/PyCall.jl:456
 in pyimport at /Users/doyley/.julia/v0.3/PyCall/src/PyCall.jl:105
 in include at ./boot.jl:245
 in include_from_node1 at ./loading.jl:128
 in reload_path at loading.jl:152
 in _require at loading.jl:67
 in require at loading.jl:51
 in _start at ./client.jl:394
 in _start at /julia/usr/lib/julia/sys.dylib
while loading /Users/doyley/.julia/v0.3/PyPlot/src/PyPlot.jl, in expression starting on line 32





On Oct 29, 2014, at 10:53 PM, Ista Zahn <istazahn@gmail.com> wrote:

> On Wed, Oct 29, 2014 at 10:09 PM, Doyley, Marvin M.
> <mdoyley@ur.rochester.edu> wrote:
>> I am using release-0.3.0 what version are you using. I am also using ob-julia.el
> 
> I'm using julia version 0.3.1 with GNU Emacs 24.4.1 and Org-mode
> version 8.2.10. I'm using the ob-julia.el distributed with
> org-plus-contrib.
> 
> Best,
> Ista
> 
>> Cheers,
>> M
>> 
>> Sent from my iPad
>> 
>>> On Oct 29, 2014, at 9:43 PM, Ista Zahn <istazahn@gmail.com> wrote:
>>> 
>>> On Wed, Oct 29, 2014 at 12:35 PM, Doyley, Marvin M.
>>> <mdoyley@ur.rochester.edu> wrote:
>>>> 
>>>> Hi there,
>>>> 
>>>> I have been play  with julia the last couple of weeks and have been having
>>>> some issues when I try to use it in org-babel
>>>> 
>>>> More specifically, It get the following error
>>>> 
>>>> ERROR: unsupported or misplaced expression using
>>>> in _start at ./client.jl:394
>>>> in _start at /julia/usr/lib/julia/sys.dylib
>>>> 
>>>> 
>>>> When I execute the following code block
>>>> 
>>>> #+begin_src julia
>>>> using Winston
>>>> #+end_src
>>> 
>>> I get the same thing, though both of these variations work for me:
>>> 
>>> #+begin_src julia
>>> using Winston
>>> 1 + 1
>>> #+end_src
>>> 
>>> #+RESULTS:
>>> : 2
>>> 
>>> #+begin_src julia :results output
>>> using Winston
>>> #+end_src
>>> 
>>> Hope this helps,
>>> Ista
>>>> 
>>>> #+RESULTS:
>>>> 
>>>> I should mention, that everything works perfectly in eshell or when I
>>>> execute simple code blocks like
>>>> 
>>>> 
>>>> #+begin_src julia
>>>> linspace(0,10,5)
>>>> #+end_src
>>>> 
>>>> #+RESULTS:
>>>> |   0 |
>>>> | 2.5 |
>>>> |   5 |
>>>> | 7.5 |
>>>> |  10 |
>>>> 
>>>> 
>>>> Does Any body know how to resolve this issue.
>>>> 
>>>> Cheers,
>>>> M

      reply	other threads:[~2014-10-31 15:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 16:35 Trouble using julia with org-babel Doyley, Marvin M.
2014-10-30  1:43 ` Ista Zahn
2014-10-30  2:09   ` Doyley, Marvin M.
2014-10-30  2:53     ` Ista Zahn
2014-10-30 19:54       ` Doyley, Marvin M. [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6B9B832E-1F06-4014-A302-555080B8FDAC@ur.rochester.edu \
    --to=mdoyley@ur.rochester.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=istazahn@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).