From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Doyley, Marvin M." Subject: Re: Trouble using julia with org-babel Date: Thu, 30 Oct 2014 19:54:58 +0000 Message-ID: <6B9B832E-1F06-4014-A302-555080B8FDAC@ur.rochester.edu> References: <0B377BAB-18B0-4F12-9A84-AD0836E4C171@ur.rochester.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkE8A-0006JB-Tk for emacs-orgmode@gnu.org; Fri, 31 Oct 2014 11:30:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjvoZ-0005eO-Ph for emacs-orgmode@gnu.org; Thu, 30 Oct 2014 15:55:29 -0400 Received: from mail-bn1on0136.outbound.protection.outlook.com ([157.56.110.136]:47232 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjvoZ-0005eG-HE for emacs-orgmode@gnu.org; Thu, 30 Oct 2014 15:55:23 -0400 In-Reply-To: Content-Language: en-US Content-ID: 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: Ista Zahn Cc: "emacs-orgmode@gnu.org" 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 fou= nd 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 wrote: > On Wed, Oct 29, 2014 at 10:09 PM, Doyley, Marvin M. > wrote: >> I am using release-0.3.0 what version are you using. I am also using ob-= julia.el >=20 > 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. >=20 > Best, > Ista >=20 >> Cheers, >> M >>=20 >> Sent from my iPad >>=20 >>> On Oct 29, 2014, at 9:43 PM, Ista Zahn wrote: >>>=20 >>> On Wed, Oct 29, 2014 at 12:35 PM, Doyley, Marvin M. >>> wrote: >>>>=20 >>>> Hi there, >>>>=20 >>>> I have been play with julia the last couple of weeks and have been ha= ving >>>> some issues when I try to use it in org-babel >>>>=20 >>>> More specifically, It get the following error >>>>=20 >>>> ERROR: unsupported or misplaced expression using >>>> in _start at ./client.jl:394 >>>> in _start at /julia/usr/lib/julia/sys.dylib >>>>=20 >>>>=20 >>>> When I execute the following code block >>>>=20 >>>> #+begin_src julia >>>> using Winston >>>> #+end_src >>>=20 >>> I get the same thing, though both of these variations work for me: >>>=20 >>> #+begin_src julia >>> using Winston >>> 1 + 1 >>> #+end_src >>>=20 >>> #+RESULTS: >>> : 2 >>>=20 >>> #+begin_src julia :results output >>> using Winston >>> #+end_src >>>=20 >>> Hope this helps, >>> Ista >>>>=20 >>>> #+RESULTS: >>>>=20 >>>> I should mention, that everything works perfectly in eshell or when I >>>> execute simple code blocks like >>>>=20 >>>>=20 >>>> #+begin_src julia >>>> linspace(0,10,5) >>>> #+end_src >>>>=20 >>>> #+RESULTS: >>>> | 0 | >>>> | 2.5 | >>>> | 5 | >>>> | 7.5 | >>>> | 10 | >>>>=20 >>>>=20 >>>> Does Any body know how to resolve this issue. >>>>=20 >>>> Cheers, >>>> M