InitError: ccall: could not find function Py_CompileString in library
- Lingua principale
- Julia
- Stelle
- 1.5k
- Fork
- 186
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hello,
Anyone know what causes this error every time I use PyCall
InitError: ccall: could not find function Py_CompileString in library C:\Users\Sannan\AppData\Local\Programs\Python\Python38\python38.dll
during initialization of module PyCall
macro expansion at exception.jl:81 [inlined]
pyeval_(::String, ::PyCall.PyDict{String,PyCall.PyObject,true}, ::PyCall.PyDict{String,PyCall.PyObject,true}, ::Int64, ::String) at pyeval.jl:36
pyeval_(::String) at pyeval.jl:34
__init__() at pyinit.jl:230
_include_from_serialized(::String, ::Array{Any,1}) at loading.jl:685
_require_search_from_serialized(::Base.PkgId, ::String) at loading.jl:765
_require(::Base.PkgId) at loading.jl:990
require(::Base.PkgId) at loading.jl:911
require(::Module, ::Symbol) at loading.jl:906
Thank you!
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start with the PyCall initialization path in pyinit.jl and the failing evaluation path in pyeval.jl, using the reported Python38 DLL and exception.jl stack trace as the reproduction context. Determine why Py_CompileString is unavailable during module initialization, then document the confirmed cause and a reproducible resolution for this Python and PyCall setup.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- julia, python
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100