3

I used Package compiler package to build the system image for the ScikitLearn package. However, I am unable to add precompilation for the library in the system image. My Code snippet to build the file is:

julia> using Package Compiler
julia> @time create_sysimage([:CSV, :ScikitLearn]; sysimage_path="sysimage-SkL-precompile.so", precompile_execution_file="code_SkL.jl")

The process without precompilation works fine but when the precompilation is added it throws an error:

FATAL ERROR: Symbol "ccall_PyImport_ImportModule_28677"not found
signal (22): SIGABRT

May I know the cause of this error and how to resolve this issue? Thanks in advance!

Mohammad Saad
  • 1,935
  • 10
  • 28

0 Answers0