Skip to content

Commit

Permalink
build based on 52b0afb
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 22, 2023
1 parent 1fcf805 commit bcf152f
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions dev/compat/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/conversion-to-julia/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/conversion-to-python/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
init()
File "/home/dingraha/projects/pythoncall_import_error/venv/lib/python3.9/site-packages/juliacall/__init__.py", line 214, in init
raise Exception('PythonCall.jl did not start properly')
Exception: PythonCall.jl did not start properly</code></pre><p>The likely problem is that the &quot;other&quot; Python library (<code>matplotlib</code>, whatever) is loading the system <code>libstdc++.so</code>, which isn&#39;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&#39;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&#39;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. See an example of how to have Julia running inside the Python that is running inside Blender here https://discourse.julialang.org/t/running-julia-inside-blender-through-vscode-using-pythoncall-juliacall/96838.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../compat/">« Compatibility Tools</a><a class="docs-footer-nextpage" href="../pycall/">Coming from PyCall/PyJulia? »</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="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 22 September 2023 16:22">Friday 22 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Exception: PythonCall.jl did not start properly</code></pre><p>The likely problem is that the &quot;other&quot; Python library (<code>matplotlib</code>, whatever) is loading the system <code>libstdc++.so</code>, which isn&#39;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&#39;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&#39;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. See an example of how to have Julia running inside the Python that is running inside Blender here https://discourse.julialang.org/t/running-julia-inside-blender-through-vscode-using-pythoncall-juliacall/96838.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../compat/">« Compatibility Tools</a><a class="docs-footer-nextpage" href="../pycall/">Coming from PyCall/PyJulia? »</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="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 22 September 2023 16:54">Friday 22 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Home · PythonCall &amp; JuliaCall</title><script data-outdated-warner src="assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.045/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.13.24/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="assets/documenter.js"></script><script src="siteinfo.js"></script><script src="../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href><img src="assets/logo.svg" alt="PythonCall &amp; JuliaCall logo"/></a><div class="docs-package-name"><span class="docs-autofit"><a href>PythonCall &amp; JuliaCall</a></span></div><form class="docs-search" action="search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li class="is-active"><a class="tocitem" href>Home</a></li><li><span class="tocitem">The Julia module PythonCall</span><ul><li><a class="tocitem" href="pythoncall/">Guide</a></li><li><a class="tocitem" href="pythoncall-reference/">Reference</a></li></ul></li><li><span class="tocitem">The Python module JuliaCall</span><ul><li><a class="tocitem" href="juliacall/">Guide</a></li><li><a class="tocitem" href="juliacall-reference/">Reference</a></li></ul></li><li><span class="tocitem">Conversion</span><ul><li><a class="tocitem" href="conversion-to-python/">Julia to Python</a></li><li><a class="tocitem" href="conversion-to-julia/">Python to Julia</a></li></ul></li><li><a class="tocitem" href="compat/">Compatibility Tools</a></li><li><a class="tocitem" href="faq/">FAQ &amp; Troubleshooting</a></li><li><a class="tocitem" href="pycall/">Coming from PyCall/PyJulia?</a></li><li><a class="tocitem" href="releasenotes/">Release Notes</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>Home</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Home</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/JuliaPy/PythonCall.jl/blob/main/docs/src/index.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="PythonCall-and-JuliaCall"><a class="docs-heading-anchor" href="#PythonCall-and-JuliaCall">PythonCall &amp; JuliaCall</a><a id="PythonCall-and-JuliaCall-1"></a><a class="docs-heading-anchor-permalink" href="#PythonCall-and-JuliaCall" title="Permalink"></a></h1><p>Bringing <a href="https://www.python.org/"><strong>Python®</strong></a> and <a href="https://julialang.org/"><strong>Julia</strong></a> together in seamless harmony:</p><ul><li>Call Python code from Julia and Julia code from Python via a symmetric interface.</li><li>Simple syntax, so the Python code looks like Python and the Julia code looks like Julia.</li><li>Intuitive and flexible conversions between Julia and Python: anything can be converted, you are in control.</li><li>Fast non-copying conversion of numeric arrays in either direction: modify Python arrays (e.g. <code>bytes</code>, <code>array.array</code>, <code>numpy.ndarray</code>) from Julia or Julia arrays from Python.</li><li>Helpful wrappers: interpret Python sequences, dictionaries, arrays, dataframes and IO streams as their Julia counterparts, and vice versa.</li><li>Beautiful stack-traces.</li><li>Works anywhere: tested on Windows, MacOS and Linux, 32- and 64-bit, Julia Julia 1.6.1 upwards and Python 3.7 upwards.</li></ul></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="pythoncall/">Guide »</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="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 22 September 2023 16:22">Friday 22 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Home · PythonCall &amp; JuliaCall</title><script data-outdated-warner src="assets/warner.js"></script><link href="https://cdnjs.cloudflare.com/ajax/libs/lato-font/3.0.0/css/lato-font.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/juliamono/0.045/juliamono.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.13.24/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="assets/documenter.js"></script><script src="siteinfo.js"></script><script src="../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-dark.css" data-theme-name="documenter-dark" data-theme-primary-dark/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href><img src="assets/logo.svg" alt="PythonCall &amp; JuliaCall logo"/></a><div class="docs-package-name"><span class="docs-autofit"><a href>PythonCall &amp; JuliaCall</a></span></div><form class="docs-search" action="search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li class="is-active"><a class="tocitem" href>Home</a></li><li><span class="tocitem">The Julia module PythonCall</span><ul><li><a class="tocitem" href="pythoncall/">Guide</a></li><li><a class="tocitem" href="pythoncall-reference/">Reference</a></li></ul></li><li><span class="tocitem">The Python module JuliaCall</span><ul><li><a class="tocitem" href="juliacall/">Guide</a></li><li><a class="tocitem" href="juliacall-reference/">Reference</a></li></ul></li><li><span class="tocitem">Conversion</span><ul><li><a class="tocitem" href="conversion-to-python/">Julia to Python</a></li><li><a class="tocitem" href="conversion-to-julia/">Python to Julia</a></li></ul></li><li><a class="tocitem" href="compat/">Compatibility Tools</a></li><li><a class="tocitem" href="faq/">FAQ &amp; Troubleshooting</a></li><li><a class="tocitem" href="pycall/">Coming from PyCall/PyJulia?</a></li><li><a class="tocitem" href="releasenotes/">Release Notes</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>Home</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Home</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/JuliaPy/PythonCall.jl/blob/main/docs/src/index.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="PythonCall-and-JuliaCall"><a class="docs-heading-anchor" href="#PythonCall-and-JuliaCall">PythonCall &amp; JuliaCall</a><a id="PythonCall-and-JuliaCall-1"></a><a class="docs-heading-anchor-permalink" href="#PythonCall-and-JuliaCall" title="Permalink"></a></h1><p>Bringing <a href="https://www.python.org/"><strong>Python®</strong></a> and <a href="https://julialang.org/"><strong>Julia</strong></a> together in seamless harmony:</p><ul><li>Call Python code from Julia and Julia code from Python via a symmetric interface.</li><li>Simple syntax, so the Python code looks like Python and the Julia code looks like Julia.</li><li>Intuitive and flexible conversions between Julia and Python: anything can be converted, you are in control.</li><li>Fast non-copying conversion of numeric arrays in either direction: modify Python arrays (e.g. <code>bytes</code>, <code>array.array</code>, <code>numpy.ndarray</code>) from Julia or Julia arrays from Python.</li><li>Helpful wrappers: interpret Python sequences, dictionaries, arrays, dataframes and IO streams as their Julia counterparts, and vice versa.</li><li>Beautiful stack-traces.</li><li>Works anywhere: tested on Windows, MacOS and Linux, 32- and 64-bit, Julia Julia 1.6.1 upwards and Python 3.7 upwards.</li></ul></article><nav class="docs-footer"><a class="docs-footer-nextpage" href="pythoncall/">Guide »</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="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 0.27.25 on <span class="colophon-date" title="Friday 22 September 2023 16:54">Friday 22 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit bcf152f

Please sign in to comment.