# PyCall error

**URL:** https://discourse.julialang.org/t/pycall-error/36687
**Category:** New to Julia
**Created:** [March 29, 2020, 6:39pm UTC](https://discourse.julialang.org/t/pycall-error/36687 "2020-03-29T18:39:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kihong\_Kim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kihong_kim/32/13632_2.png) [@Kihong\_Kim](https://discourse.julialang.org/u/Kihong_Kim)
#### Post date: [March 29, 2020, 6:39pm UTC](https://discourse.julialang.org/t/pycall-error/36687/1 "2020-03-29T18:39:57Z")

</div>

```julia
ERROR: LoadError: PyCall.PyError("\$(Expr(:escape, :(ccall(#= C:\\Users\\KKH\\.julia\\packages\\PyCall\\zqDXB\\src\\pyfncall.jl:43 =# @pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))", PyObject(Ptr{PyCall.PyObject_struct} @0x00007ff920fe2170), PyObject(Ptr{PyCall.PyObject_struct} @0x00000000462b4f78), PyObject(Ptr{PyCall.PyObject_struct} @0x000000005cb24748))
Stacktrace:
 [1] pyerr_check at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\exception.jl:60 [inlined]
 [2] pyerr_check at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\exception.jl:64 [inlined]
 [3] _handle_error(::String) at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\exception.jl:81
 [4] macro expansion at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\exception.jl:95 [inlined]
 [5] #110 at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\pyfncall.jl:43 [inlined]
 [6] disable_sigint at .\c.jl:446 [inlined]
 [7] __pycall! at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\pyfncall.jl:42 [inlined]
 [8] _pycall!(::PyObject, ::PyObject, ::Tuple{String}, ::Int64, ::Ptr{Nothing}) at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\pyfncall.jl:29
 [9] _pycall! at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\pyfncall.jl:11 [inlined]
 [10] #_#117 at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\pyfncall.jl:86 [inlined]
 [11] (::PyObject)(::String) at C:\Users\KKH\.julia\packages\PyCall\zqDXB\src\pyfncall.jl:86
 [12] openxl(::String) at C:\Users\KKH\.julia\packages\ExcelReaders\PgE1r\src\ExcelReaders.jl:64
 [13] top-level scope at C:\Users\KKH\Dropbox\In progress\Spring 2020\01 ECG 784 Advanced Macroeconomics\02 Assignments\PS2 Q4 Julia\AR1_main.jl:56
in expression starting at C:\Users\KKH\Dropbox\In progress\Spring 2020\01 ECG 784 Advanced Macroeconomics\02 Assignments\PS2 Q4 Julia\AR1_main.jl:56

```

I have this error and cannot find how to fix it. My advisor told me that I need to install the xlrd package of Python but that is already installed. Using Conda didn’t work… Look like Julia cannot read the necessary packages. What can I do?

PS. I’m really sorry for my carelessness to post screenshots before.

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [March 29, 2020, 7:46pm UTC](https://discourse.julialang.org/t/pycall-error/36687/2 "2020-03-29T19:46:42Z")

</div>

2 posts were merged into an existing topic: [PyCall and ExcelReaders error](https://discourse.julialang.org/t/pycall-and-excelreaders-error/36694)

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [March 29, 2020, 7:46pm UTC](https://discourse.julialang.org/t/pycall-error/36687/3 "2020-03-29T19:46:42Z")

</div>


