# KeyError: key "\_\_div\_\_" not found, and IOError: unlink

**URL:** <https://discourse.julialang.org/t/keyerror-key-div-not-found-and-ioerror-unlink/53044>\
**Category:** General Usage\
**Tags:** question, package, python\
**Created:** [January 8, 2021, 2:42pm UTC](https://discourse.julialang.org/t/keyerror-key-div-not-found-and-ioerror-unlink/53044 "2021-01-08T14:42:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rumil](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@rumil](https://discourse.julialang.org/u/rumil)\
**Post date:** [January 8, 2021, 2:42pm UTC](https://discourse.julialang.org/t/keyerror-key-div-not-found-and-ioerror-unlink/53044/1 "2021-01-08T14:42:44Z")

</div>

Hi, I’m quite new to Julia and currently have some trouble getting the Julia Pandas package to work.  
I’m using Julia 1.5.3, Python 3.7.9, and installed pandas 1.2.0 for Python.  
Using pandas via PyCall is no problem, but when I install the Julia Pandas package, it does not pass the tests and results in the following error:

```julia
Test Summary: | Pass Total
TableTraits | 21 21
┌ Error: mktempdir cleanup
│ exception =
│ IOError: unlink: resource busy or locked (EBUSY)
│ Stacktrace:
│ [1] uv_error at .\libuv.jl:97 [inlined]
│ [2] unlink(::String) at .\file.jl:918
│ [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
│ [4] rm(::String; force::Bool, recursive::Bool) at .\file.jl:278
│ [5] mktempdir(::var"#3#4", ::String; prefix::String) at .\file.jl:714
│ [6] mktempdir(::Function, ::String) at .\file.jl:707 (repeats 2 times)
│ [7] top-level scope at C:\Users\felix\.julia\packages\Pandas\rAPmB\test\runtests.jl:45
│ [8] include(::String) at .\client.jl:457
│ [9] top-level scope at none:6
│ [10] eval(::Module, ::Any) at .\boot.jl:331
│ [11] exec_options(::Base.JLOptions) at .\client.jl:272
│ [12] _start() at .\client.jl:506
└ @ Base.Filesystem file.jl:717
Closing remaining open files:C:\Users\felix\AppData\Local\Temp\jl_GMcKYN/store.h5...done
    Testing Pandas tests passed

```

Further, when I’m trying to divide a DataFrame by its standard diviation for scaling, I obtain the following error:

```julia
using Pandas

df = DataFrame([0 1 2 3; 2 3 4 5])
df / std(df)

```

```julia
KeyError: key " __div__" not found

Stacktrace:
 [1] __getproperty at C:\Users\felix\.julia\packages\PyCall\BcTLp\src\PyCall.jl:307 [inlined]
 [2] getproperty at C:\Users\felix\.julia\packages\PyCall\BcTLp\src\PyCall.jl:311 [inlined]
 [3] /(::DataFrame, ::Series) at C:\Users\felix\.julia\packages\Pandas\rAPmB\src\Pandas.jl:366
 [4] /(::DataFrame, ::Series) at C:\Users\felix\.julia\packages\Pandas\rAPmB\src\Pandas.jl:371
 [5] top-level scope at In[2]:4
 [6] include_string(::Function, ::Module, ::String, ::String) at .\loading.jl:1091

```

Thank you very much for any help in advance!
