Skip to content

InitError #60

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

Closed
RagnarB83 opened this issue Oct 4, 2021 · 2 comments
Closed

InitError #60

RagnarB83 opened this issue Oct 4, 2021 · 2 comments

Comments

@RagnarB83
Copy link

Hi, interesting project

I'm getting this error even when using a fresh Julia installation (1.6.3). OS: Mac OS 10.13.6.

julia> using PythonCall
ERROR: InitError: MethodError: no method matching project_file_name_uuid(::Bool, ::String)
Closest candidates are:
  project_file_name_uuid(::String, ::String) at loading.jl:405
Stacktrace:
 [1] init_context()
   @ PythonCall.C ~/.julia/packages/PythonCall/YSeRU/src/cpython/context.jl:30
 [2] __init__()
   @ PythonCall.C ~/.julia/packages/PythonCall/YSeRU/src/cpython/CPython.jl:19
 [3] _include_from_serialized(path::String, depmods::Vector{Any})
   @ Base ./loading.jl:696
 [4] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
   @ Base ./loading.jl:782
 [5] _require(pkg::Base.PkgId)
   @ Base ./loading.jl:1020
 [6] require(uuidkey::Base.PkgId)
   @ Base ./loading.jl:936
 [7] require(into::Module, mod::Symbol)
   @ Base ./loading.jl:923
during initialization of module C

I've tried both:

pkg> add PythonCall

and

pkg> add PythonCall#master
@cjdoris
Copy link
Collaborator

cjdoris commented Oct 4, 2021

I think I've just fixed it on master. Let me know.

@RagnarB83
Copy link
Author

Fixed, thanks!

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