ModuleNotFoundError: No module named 'libc' TLDR TLDR 从 from libc.math import sqrt 改为 from libc.math cimport sqrt 注意是cimport而不是import