ModuleNotFoundError: No module named 'kim_query' (SOLVED)

Hello,

on my WSL - Ubuntu I installed all openkim packages, based on OpenKIM · Obtaining KIM Models · Interatomic Potentials and Force Fields , plus pip install kimpy .

But the second testing program for ASE OpenKIM · Using KIM Models · Interatomic Potentials and Force Fields gives the errort of missing module:

 from kim_query import get_lattice_constant_cubic
ModuleNotFoundError: No module named 'kim_query'

I do not see “kim_query” in KIM — ASE documentation

Any help, please ?

Also I have:

pip show kimpy
Name: kimpy
Version: 2.1.1
Summary: Python interface to the KIM-API
Home-page: https://github.com/openkim/kimpy
Author: Mingjian Wen, Yaser Afshar
Author-email: [email protected], [email protected]
License: CDDL-1.0
Location: /home/milias/.local/lib/python3.10/site-packages
Requires: numpy
Required-by:

Ah, found the solution… missing kim-query · PyPI

pip install kim-query

1 Like