-Exception: PythonCall.jl did not start properly</code></pre><p>The likely problem is that the "other" Python library (<code>matplotlib</code>, whatever) is loading the system <code>libstdc++.so</code>, which isn't compatible with the <code>libstdc++.so</code> that Julia ships with. Linux distributions with older <code>libstdc++</code> versions seem more likely to suffer from this issue. The solution is to either:</p><ul><li>use a Linux distribution with a more recent <code>libstdc++</code></li><li>import <code>juliacall</code> before the other Python library, so that Julia's <code>libstdc++</code> is loaded</li><li>use a Python from a conda environment, which will have a newer <code>libstdc++</code> that is compatible with Julia's</li></ul><p>Related issues: <a href="https://github.com/JuliaPy/PythonCall.jl/issues/255">#255</a></p><h2 id="Can-I-use-JuliaCall-to-run-Julia-inside-applications-with-embedded-Python?"><a class="docs-heading-anchor" href="#Can-I-use-JuliaCall-to-run-Julia-inside-applications-with-embedded-Python?">Can I use JuliaCall to run Julia inside applications with embedded Python?</a><a id="Can-I-use-JuliaCall-to-run-Julia-inside-applications-with-embedded-Python?-1"></a><a class="docs-heading-anchor-permalink" href="#Can-I-use-JuliaCall-to-run-Julia-inside-applications-with-embedded-Python?" title="Permalink"></a></h2><p>Yes, it may be possible. A good example of that is having Julia running inside the Python that is running inside Blender, as presented in <a href="https://discourse.julialang.org/t/running-julia-inside-blender-through-vscode-using-pythoncall-juliacall/96838/6">this Discourse post</a>. From the point that one has JuliaCall running inside Python, if it has access to the terminal, one can even launch a Julia REPL there, and if needed connect with VSCode Julia extension to it. The full Python script to install, launch JuliaCall, and launch a Julia REPL in Blender is <a href="https://gist.github.com/cdsousa/d820d27174238c0d48e5252355584172">here</a>.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../compat/">« Compatibility Tools</a><a class="docs-footer-nextpage" href="../releasenotes/">Release Notes »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.11.4 on <span class="colophon-date" title="Wednesday 4 June 2025 14:58">Wednesday 4 June 2025</span>. Using Julia version 1.11.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
0 commit comments