You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python3.9
Python 3.9.18 (main, Dec 10 2023, 01:22:40)
[Clang 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1 on freebsd14
Type "help", "copyright", "credits" or "license" for more information.
>>> import spglib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/spglib/__init__.py", line 37, in <module>
from ._version import __version__, __version_tuple__ # noqa: F401
ModuleNotFoundError: No module named 'spglib._version'
This is perhaps due to an older py39-setuptools_scm7-7.1.0, which isn't at the latest version 8.x
This line in __init__.py is a culprit:
from ._version import version, version_tuple # noqa: F401
Please fix this because many distros have setuptools_scm at 7.x or older.