# Calling Julia compiled library from Python

**URL:** <https://discourse.julialang.org/t/calling-julia-compiled-library-from-python/18157>\
**Category:** General Usage\
**Created:** [November 29, 2018, 5:45pm UTC](https://discourse.julialang.org/t/calling-julia-compiled-library-from-python/18157 "2018-11-29T17:45:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)\
**Post date:** [November 30, 2018, 1:40am UTC](https://discourse.julialang.org/t/calling-julia-compiled-library-from-python/18157/4 "2018-11-30T01:40:14Z")

</div>

> [@sdanisch](#):
>
> The other issue I run into when creating that PR was likely fixed by: [https://github.com/JuliaLang/PackageCompiler.jl/pull/122](https://github.com/JuliaLang/PackageCompiler.jl/pull/122)

If you want to use Python ctypes, I don’t think this PR is enough. See: [init\_jl\_runtime does not work with Python ctypes · Issue #144 · JuliaLang/PackageCompiler.jl · GitHub](https://github.com/JuliaLang/PackageCompiler.jl/issues/144)

For a complete example using Python ctypes, see: [AOT compiling using PackageCompiler - #8 by tkf](https://discourse.julialang.org/t/aot-compiling-using-packagecompiler/16911/8)

---

_[View the full topic](https://discourse.julialang.org/t/calling-julia-compiled-library-from-python/18157)._
