ERROR: LoadError: PyError ($(Expr(:escape, :(ccall(#=

i was trying to learn how make some plots with .xlxs files ,and i getting the following Error for PyCall and am on JuliaPro_v1.5.4-1

here is the video i learn form

and here is the error;

ERROR: LoadError: PyError ($(Expr(:escape, :(ccall(#= C:\Users\user.julia\packages\PyCall\BD546\src\pyfncall.jl:43 =# @pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) <class ‘xlrd.biffh.XLRDError’>
XLRDError(‘Excel xlsx file; not supported’)
File “C:\Users\user.julia\conda\3\lib\site-packages\”, line 170, in open_workbook
raise XLRDError(FILE_FORMAT_DESCRIPTIONS[file_format]+’; not supported’)

[1] pyerr_check at C:\Users\user.julia\packages\PyCall\BD546\src\exception.jl:62 [inlined]
[2] pyerr_check at C:\Users\user.julia\packages\PyCall\BD546\src\exception.jl:66 [inlined]
[3] _handle_error(::String) at C:\Users\user.julia\packages\PyCall\BD546\src\exception.jl:83
in expression starting at C:\Users\user\Desktop\RN.jl:7

The error message is kind of buried, but if you look carefully, you’ll see: Excel xlsx file; not supported. This seems to just be a limitation of the python library you’re using:

1 Like

thanks , i will try this !!