Skip to content

[BUG] ImportError: pkg_resources missing with setuptools>=82 #599

@jldonner

Description

@jldonner

Describe the bug
Import error when trying
from edisgo import EDisGo
--> ModuleNotFoundError: No module named 'pkg_resources'

To Reproduce
Steps to reproduce the behavior:

  1. Set up new python 3.10 environment
  2. (git clone eDisGo branch if not already cloned)
  3. dev install edisgo in new environment (using setup.py)
  4. from edisgo import EDisGo
  5. See error
    Additional context
    setuptools >= 82 doesn't contain pkg_resources anymore

Suggested fix
pin
setuptools < 82.0.0
in setup.py requirements

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions