Hi,

Thanks for the report. I have no idea how to install this on OS X. I am 
happy to get any feedback;  bugs, comments, etc. Please post to this 
thread, or better, the issue tracker for SJulia.

I added the following text to the README.  Note the part about SymPy.

*Note* SymPy here refers to the python SymPy 
<http://www.sympy.org/en/index.html> distribution (sometimes called sympy), 
*not* the Julia package SymPy. 


SJulia does not require the Julia package SymPy 
<https://github.com/jverzani/SymPy.jl>, which has a different goal.


You'll also need to install the mpmath package for python. On OS X, If you 
use pip, you should just be able to run pip install mpmath.

On Monday, May 16, 2016 at 5:15:06 PM UTC+2, Rob J Goedman wrote:
>
> Hi,
>
> As I use Mathematica quite a bit, I’m very interested in SJulia!
>
> I’m wondering if I need an additional Module or library to get around 
> below issue. This is on OS X and Julia 0.5-
>
> *ERROR: InitError: PyError (:PyImport_ImportModule) <type 
> 'exceptions.ImportError'>*
> *ImportError('No module named mpmath',)*
>
> * [inlined code] from /Users/rob/.julia/v0.5/PyCall/src/exception.jl:56*
> * in pyimport(::String) at /Users/rob/.julia/v0.5/PyCall/src/PyCall.jl:285*
> * [inlined code] from /Users/rob/.julia/v0.5/SJulia/src/SJulia.jl:3*
> * in import_sympy() at /Users/rob/.julia/v0.5/SJulia/src/sympy.jl:23*
> * in init_sympy() at /Users/rob/.julia/v0.5/SJulia/src/sympy.jl:677*
> * in __init__() at /Users/rob/.julia/v0.5/SJulia/src/SJulia.jl:64*
> * in _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at 
> ./loading.jl:174*
> * in require(::Symbol) at ./loading.jl:365*
> * in eval(::Module, ::Any) at ./boot.jl:226*
> *during initialization of module **Julia*
>
> On Julia 4.0 SymPy won’t work on my system (it complains about 
> precompiling):
>
> *julia> **using SymPy*
> *INFO: Precompiling module SymPy...*
> *ERROR: LoadError: LoadError: UndefVarError: _apply_recipe not defined*
>
> But on Julia 5.0:
>
>
> *julia> **using SymPy*
>
> *x = symbols("x")*
> *x*
>
> *julia> **a = [x 1; 1 x]*
> *2×2 Array{SymPy.Sym,2}*
> *⎡x  1⎤*
> *⎢    ⎥*
> *⎣1  x⎦*
>
> *julia> **det(a)*
> *  ⎛    1⎞*
> *x⋅⎜x - ─⎟*
> *  ⎝    x⎠*
>
> *julia> **versioninfo*
> *versioninfo (generic function with 4 methods)*
>
> *julia> **versioninfo()*
> Julia Version 0.5.0-dev+4110
> Commit 5d52f02 (2016-05-16 02:25 UTC)
> Platform Info:
>   System: Darwin (x86_64-apple-darwin15.5.0)
>   CPU: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz
>   WORD_SIZE: 64
>   BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
>   LAPACK: libopenblas64_
>   LIBM: libopenlibm
>   LLVM: libLLVM-3.7.1 (ORCJIT, haswell)
>
> On May 12, 2016, at 19:47, [email protected] <javascript:> wrote:
>
> The symbolic mathematics language project that I announced last year has 
> been greatly expanded.
>
> Here is the link: https://github.com/jlapeyre/SJulia.jl
>
> The best way to find what is new is to look at the tests 
> https://github.com/jlapeyre/SJulia.jl/tree/master/sjtest
>
>
>

Reply via email to