Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: key :load_dataset not found #30

Open
ShuhuaGao opened this issue Sep 21, 2021 · 1 comment
Open

KeyError: key :load_dataset not found #30

ShuhuaGao opened this issue Sep 21, 2021 · 1 comment

Comments

@ShuhuaGao
Copy link

The key not found error occurs when I call any function in Seaborn.jl, which is quite weird.

julia> using Seaborn

julia> Seaborn.load_dataset
load_dataset (generic function with 1 method)

julia> Seaborn.load_dataset("tips")
ERROR: KeyError: key :load_dataset not found
Stacktrace:
 [1] __getproperty(o::PyCall.PyObject, s::Symbol)
   @ PyCall C:\Users\shuhu\.julia\packages\PyCall\BD546\src\PyCall.jl:307
 [2] getproperty
   @ C:\Users\shuhu\.julia\packages\PyCall\BD546\src\PyCall.jl:312 [inlined]
 [3] load_dataset(name::String)
   @ Seaborn C:\Users\shuhu\.julia\packages\Seaborn\vfmph\src\Seaborn.jl:754
 [4] top-level scope
   @ REPL[4]:1

Version info

(@v1.6) pkg> st
      Status `C:\Users\shuhu\.julia\environments\v1.6\Project.toml`
  [8f4d0f93] Conda v1.5.2
  [7073ff75] IJulia v1.23.2
  [5fb14364] OhMyREPL v0.5.10
  [438e738f] PyCall v1.92.3
  [d2ef9438] Seaborn v1.0.0
julia> versioninfo()
Julia Version 1.6.2
Commit 1b93d53fc4 (2021-07-14 15:36 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 8

PyCall info

julia> using PyCall

julia> PyCall.pyversion
v"3.8.3"

julia> PyCall.conda
true

# PyCall seems to work
julia> math = pyimport("math")
PyObject <module 'math' (built-in)>

julia> math.sin(math.pi / 4)
0.7071067811865476
@markmbaum
Copy link
Contributor

It seems like the function definitions broke somewhere along the way but I'm not sure why. I'm trying to PR #31 merged but unsure if anyone is paying attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants