# Failed to precompile ScikitLearn and Plots

**URL:** <https://discourse.julialang.org/t/failed-to-precompile-scikitlearn-and-plots/98159>\
**Category:** New to Julia\
**Tags:** package, plotting, precompilation, scikitlearn\
**Created:** [May 1, 2023, 1:09pm UTC](https://discourse.julialang.org/t/failed-to-precompile-scikitlearn-and-plots/98159 "2023-05-01T13:09:19Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [May 1, 2023, 2:54pm UTC](https://discourse.julialang.org/t/failed-to-precompile-scikitlearn-and-plots/98159/9 "2023-05-01T14:54:18Z")

</div>

Do you still get an error for the following?:

```julia
julia> @time using ScikitLearn

```

I do see an older thread, with a slightly different error message (why not getting same hint here?), but the solution might still work:

> [@PyCall not properly installed](https://discourse.julialang.org/t/pycall-not-properly-installed/39928):
>
> I am not able to use any package which has some connection with the PyCall package. I tried following the instructions in one of the cases (for using ScikitLearn package) and have given the output below. I tried resolving the error by following online resolved issues and felt like I am making it worse. Please help me fix this issue. I am using Julia v1.4.1 in Ubuntu 20.04 WSL. using ScikitLearn ┌ Info: Precompiling ScikitLearn [3646fa90-6ef7-5e7e-9f22-8aca16db6324] └ @ Base loading.jl:1260 ERRO…

```julia
using ScikitLearn
┌ Info: Precompiling ScikitLearn [3646fa90-6ef7-5e7e-9f22-8aca16db6324]
└ @ Base loading.jl:1260
ERROR: LoadError: LoadError: PyCall not properly installed. Please run Pkg.build("PyCall")

```

---

_[View the full topic](https://discourse.julialang.org/t/failed-to-precompile-scikitlearn-and-plots/98159)._
