<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Il giorno lun 18 ago 2025 alle ore 15:00 Eike Mueller via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
Dear PETSc developers,
<div><br>
</div>
<div>I need to install petsc4py on a specific machine for teaching, and one of my colleagues pointed out that this can be done with conda-forge using this: <a href="https://urldefense.us/v3/__https://anaconda.org/conda-forge/petsc4py__;!!G_uCfscf7eWS!aObnO6iDXElFvWx8fXEjFR-baM6bUK1tm-qPqLb5kFKPoo_GYUC260Pm5WkJmanUStqmZ1HhWtmNudJeMLyxcg$" target="_blank">https://anaconda.org/conda-forge/petsc4py</a> </div>
<div><br>
</div>
<div>Are you aware of any problems with this approach?</div></div></blockquote><div><br></div><div>Based on personal experience, you may encounter issues sometimes using the conda compilers and trying to compile PETSc applications.</div><div>But if you plan to just use petsc4py, there won't be any problems. <br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div> It’s not listed as an option under the petsc4py installation instructions <a href="https://urldefense.us/v3/__https://petsc.org/release/petsc4py/install.html__;!!G_uCfscf7eWS!aObnO6iDXElFvWx8fXEjFR-baM6bUK1tm-qPqLb5kFKPoo_GYUC260Pm5WkJmanUStqmZ1HhWtmNudKT9XFvlA$" target="_blank">https://petsc.org/release/petsc4py/install.html</a> . I had tried these
 first, but the pip install of petsc/petsc4py didn’t work.</div></div></blockquote><div><br></div><div>That is supposed to install petsc and petsc4py automatically and should work. Can you attach some failing logs?</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>The install via anaconda/conda-forge did give me a working petsc4py, however. My colleague says that he also successfully used it on google collab.</div>
<div><br>
</div>
<div>Thank you very much,</div>
<div><br>
</div>
<div>Eike</div>
</div>

</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Stefano</div></div>