Problem using SymPy

joeit
Thu, 27 Apr 2023 20:08:11 +0000
New to Julia

Hi everybody, I am new to Julia and I would like to use the sympy functionalities.
I have Julia 1.8 installed on Mac OS, with python 3.
The SymPy package throws the error below.
Any clue?
Thanks
Joe

julia> using SymPy

ERROR: InitError: KeyError: key :pi not found

Stacktrace:

[1] __getproperty

@ ~/.julia/packages/PyCall/twYvK/src/PyCall.jl:313 [inlined]

[2] getproperty(o::PyCall.PyObject, s::Symbol)

@ PyCall ~/.julia/packages/PyCall/twYvK/src/PyCall.jl:318

[3] init()

@ SymPy ~/.julia/packages/SymPy/gkr7m/src/SymPy.jl:131

[4] _include_from_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any})

@ Base ./loading.jl:831

[5] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt64)

@ Base ./loading.jl:1039

[6] _require(pkg::Base.PkgId)

@ Base ./loading.jl:1315

[7] _require_prelocked(uuidkey::Base.PkgId)

@ Base ./loading.jl:1200

[8] macro expansion

@ ./loading.jl:1180 [inlined]

[9] macro expansion

@ ./lock.jl:223 [inlined]

[10] require(into::Module, mod::Symbol)

@ Base ./loading.jl:1144

during initialization of module SymPy

5 posts - 3 participants