BUG: ModuleNotFoundError: No module named 'pkg_resources'
**Describe the bug**
```python
from atomate2.vasp.sets.base import VaspInputGenerator
```
results in
```
"""Module defining base VASP input set and generator."""
from __future__ import annotations
import glob
import os
import warnings
from copy import deepcopy
from dataclasses import dataclass, field
from itertools import groupby
from pathlib import Path
from typing import TYPE_CHECKING, Any
import numpy as np
from monty.io import zopen
from monty.serialization import loadfn
> from pkg_resources import resource_filename
E ModuleNotFoundError: No module named 'pkg_resources'
```
Using atomate2 0.0.12, Python 3.13.13, and setuptools 82.0.1.
Seems similar to https://github.com/meta-pytorch/tnt/pull/1051.
关闭于 2026-04-20 2 条评论