# Error with PythonCall.jl and SimpleITK on Julia 1.9 but works on beta (1.10)

**URL:** <https://discourse.julialang.org/t/error-with-pythoncall-jl-and-simpleitk-on-julia-1-9-but-works-on-beta-1-10/105250>\
**Category:** General Usage\
**Tags:** pythoncall\
**Created:** [October 20, 2023, 7:45pm UTC](https://discourse.julialang.org/t/error-with-pythoncall-jl-and-simpleitk-on-julia-1-9-but-works-on-beta-1-10/105250 "2023-10-20T19:45:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dale\_James\_Black](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dale_james_black/32/11595_2.png) [@Dale\_James\_Black](https://discourse.julialang.org/u/Dale_James_Black)\
**Post date:** [October 20, 2023, 7:45pm UTC](https://discourse.julialang.org/t/error-with-pythoncall-jl-and-simpleitk-on-julia-1-9-but-works-on-beta-1-10/105250/1 "2023-10-20T19:45:06Z")

</div>

When I try to load SimpleITK via PythonCall.jl on windows, I am running into a new error. This is not a problem on Mac or Linux. This does not error when working on the current beta (1.10). I also have a public link [here](https://github.com/Dale-Black/PerfusionImaging.jl) for this process with GitHub actions for one of my packages. Any idea what changed between 1.9 and 1.10 and how can I fix this to make it work on 1.9 also?

```julia
begin
	using Pkg; Pkg.activate(temp = true)
	Pkg.add("PythonCall")
	Pkg.add("CondaPkg")

	using CondaPkg
	CondaPkg.add("SimpleITK", resolve=false)
	CondaPkg.add("numpy")
end

```

```julia
begin
	using PythonCall
	sitk = pyimport("SimpleITK")
	np = pyimport("numpy")
end

```

```julia

Python: ImportError: DLL load failed while importing _SimpleITK: The specified procedure could not be found.

pythrow()@err.jl:94
errcheck@err.jl:10[inlined]
pyimport(::String)@import.jl:11
top-level scope@Local: 3

```

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [October 20, 2023, 8:45pm UTC](https://discourse.julialang.org/t/error-with-pythoncall-jl-and-simpleitk-on-julia-1-9-but-works-on-beta-1-10/105250/2 "2023-10-20T20:45:49Z")

</div>

My wild guess is that it is one of Julia’s core dependencies and they did not match one of Python’s core dependencies. With 1.10 that may have changed so that they are now synchronized.
