Bug needs to be fix

26 views
Skip to first unread message

Medhat Ahmed

unread,
Sep 7, 2019, 12:12:24 PM9/7/19
to knet-users
While Im using Knet, it showed me this ERROR: LoadError: LoadError: "loggamma" is not defined in module Knet
Stacktrace:
Im running it on Ubuntu 16 and Im new to Julia, if you can help me regarding this, I owe you big time.

Cheers,
Medhat 

Deniz Yuret

unread,
Sep 7, 2019, 12:20:05 PM9/7/19
to Medhat Ahmed, knet-users
Make sure you are using julia 1.2.0 and your packages are up to date (i.e. run Pkg.update()). Pkg.installed() should show SpecialFunctions v0.8.x, right now you seem to have an older version.

--
You received this message because you are subscribed to the Google Groups "knet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knet-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/knet-users/987f5804-db55-40b4-97b9-d2abb695e6dc%40googlegroups.com.

Medhat Ahmed

unread,
Sep 8, 2019, 3:20:38 AM9/8/19
to knet-users
Hey Deniz,
I ran the commands you mentioned above. When I ran Pkg.installed(), it shows that "Knet" is installed => v"1.2.5"
and while I ran myfile.jl still shows the same error as below. Any idea how can this be fixed.

I owe you a big time 

┌ Info: Precompiling Knet [1902f260-5fb4-5aff-8c31-6271790ab950]
└ @ Base loading.jl:1242
ERROR: LoadError: LoadError: "loggamma" is not defined in module Knet
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] which at ./reflection.jl:1109 [inlined]
 [3] unary_op(::String, ::String) at /home/deeplearning/.julia/packages/Knet/ztjo0/src/unary.jl:9
 [4] top-level scope at /home/deeplearning/.julia/packages/Knet/ztjo0/src/unary.jl:131
 [5] include at ./boot.jl:328 [inlined]
 [6] include_relative(::Module, ::String) at ./loading.jl:1094
 [7] include at ./Base.jl:31 [inlined]
 [8] include(::String) at /home/deeplearning/.julia/packages/Knet/ztjo0/src/Knet.jl:1
 [9] top-level scope at /home/deeplearning/.julia/packages/Knet/ztjo0/src/Knet.jl:114
 [10] include at ./boot.jl:328 [inlined]
 [11] include_relative(::Module, ::String) at ./loading.jl:1094
 [12] include(::Module, ::String) at ./Base.jl:31
 [13] top-level scope at none:2
 [14] eval at ./boot.jl:330 [inlined]
 [15] eval(::Expr) at ./client.jl:432
 [16] top-level scope at ./none:3
in expression starting at /home/deeplearning/.julia/packages/Knet/ztjo0/src/unary.jl:129
in expression starting at /home/deeplearning/.julia/packages/Knet/ztjo0/src/Knet.jl:114
Failed to precompile Knet [1902f260-5fb4-5aff-8c31-6271790ab950] to /home/deeplearning/.julia/compiled/v1.2/Knet/f4vSz.ji.

Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1253
 [3] _require(::Base.PkgId) at ./loading.jl:1013
 [4] require(::Base.PkgId) at ./loading.jl:911
 [5] require(::Module, ::Symbol) at ./loading.jl:906
 [6] include at ./boot.jl:328 [inlined]
 [7] include_relative(::Module, ::String) at ./loading.jl:1094
 [8] include(::Module, ::String) at ./Base.jl:31
 [9] include(::String) at ./client.jl:431
 [10] top-level scope at In[2]:1

On Saturday, September 7, 2019 at 9:20:05 AM UTC-7, DENIZ YURET wrote:
Make sure you are using julia 1.2.0 and your packages are up to date (i.e. run Pkg.update()). Pkg.installed() should show SpecialFunctions v0.8.x, right now you seem to have an older version.

On Sat, Sep 7, 2019 at 7:12 PM Medhat Ahmed <medhat.a...@gmail.com> wrote:
While Im using Knet, it showed me this ERROR: LoadError: LoadError: "loggamma" is not defined in module Knet
Stacktrace:
Im running it on Ubuntu 16 and Im new to Julia, if you can help me regarding this, I owe you big time.

Cheers,
Medhat 

--
You received this message because you are subscribed to the Google Groups "knet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to knet-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages