Closed MicPellegrino closed 1 week ago
This is a bit surprising you installed:
python 3.10.11 he550d4f_0_cpython conda-forge
So it does not seem to be related to the Python 3.8 version you use to call the LAMMPS version.
Ok, I realized I copy-pasted an old .yml
file.
I've changed it to python>=3.10
(for a totally different reason) and now it works, so it was only a Python version problem (apparently I had it changed already before calling mamba list
).
@MicPellegrino Sounds good to me - I am going to move ahead and close the issue, feel free to reopen it in case the issue comes up again.
Solution to issue cannot be found in the documentation.
Issue
When installing and including
lammps
in a virtual environment fromconda-forge
(usingmamba
, in my case) I get the following error upon runninglmp = lammps.lammps()
:I don't get this error when building LAMMPS (shared library and Python API) from the latest release using
cmake
.Installed packages
Environment info