In fact, MathLink is not found in your path .. and that is why Julia did 
this
 
*julia> **using Mathematica*

*ERROR: LoadError: ArgumentError: MathLink not found in path*

we want to add MathLink to your path

Copy your current path into a tmp text file
Assuming you can navigate to the Mathematica app and to the MalthLink 
program,
navigate to MathLink and copy its path onto the end of your old path (colon 
separator first)
(these web pages may help show-path 
<https://www.tekrevue.com/tip/show-path-finder-title-bar/> or file-path 
<http://www.cnet.com/how-to/how-to-copy-a-file-path-in-os-x/>)
and if ~/.bash_profile does not exist, create it
    set your ~/.bash_profile to use that new path ( add path 
<https://coolestguidesontheplanet.com/add-shell-path-osx/> )




On Tuesday, July 12, 2016 at 7:33:57 AM UTC-4, Rangarajan Krishnamoorthy 
wrote:
>
> Thanks. This is what I get:
>
>
> /Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/clojure:/usr/local/go/bin
>
>
> - Rangarajan
>
> On Tuesday, July 12, 2016 at 4:41:27 PM UTC+5:30, Jeffrey Sarnoff wrote:
>>
>> post your path, as much of it as you want to make public
>> (launch Applications > Utilities > Terminal, type echo $PATH)
>>
>> On Tuesday, July 12, 2016 at 5:42:37 AM UTC-4, Rangarajan Krishnamoorthy 
>> wrote:
>>
>>> Hi,
>>> I have Mathematica 10.4.1 installed on my OS X. I am trying to connect 
>>> to Mathematica this way as explained here: 
>>> https://github.com/MikeInnes/Mathematica.jl
>>>
>>> julia> Pkg.add("Mathematica")
>>>
>>> *INFO: Initializing package repository /Users/Rangarajan/.julia/v0.4*
>>>
>>> *INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl 
>>> <http://github.com/JuliaLang/METADATA.jl>*
>>>
>>> *INFO: Cloning cache of Mathematica from 
>>> git://github.com/MikeInnes/Mathematica.jl.git 
>>> <http://github.com/MikeInnes/Mathematica.jl.git>*
>>>
>>> *INFO: Installing Mathematica v0.2.0*
>>>
>>> *INFO: Package database updated*
>>>
>>> *julia> **using Mathematica*
>>>
>>> *ERROR: LoadError: ArgumentError: MathLink not found in path*
>>>
>>> * in require at 
>>> /Applications/Julia-0.4.6.app/Contents/Resources/julia/lib/julia/sys.dylib*
>>>
>>> * in include at 
>>> /Applications/Julia-0.4.6.app/Contents/Resources/julia/lib/julia/sys.dylib*
>>>
>>> * in include_from_node1 at 
>>> /Applications/Julia-0.4.6.app/Contents/Resources/julia/lib/julia/sys.dylib*
>>>
>>> * in require at 
>>> /Applications/Julia-0.4.6.app/Contents/Resources/julia/lib/julia/sys.dylib*
>>>
>>> *while loading 
>>> /Users/Rangarajan/.julia/v0.4/Mathematica/src/Mathematica.jl, in expression 
>>> starting on line 3*
>>>
>>> *Can anyone help?*
>>>
>>> *- Rangarajan*
>>>
>>>

Reply via email to