I am referring to the quick start to install lammps’ python module on my windows machine. However, I can’t find cmake folder in my lammps directory and therefore the script will not work.
I noticed it requires “cmake” to compile lammps, but I installed lammps through binaries exe and therefore did not use cmake command once.
Sorry for the confusion. That’s what I meant. I want to execute a python file that uses LAMMPS module, but when I imported the module and tried to execute it, it threw an error.
There is no standalone lammps.pylammps.version() function. Only a version() method for the lammps() or PyLammps() or IPyLammps() classes that have to be called from an instantiated class instance. It looks like you need to improve your understanding of how Python works in general.