10000 Python 3.12 does not provide setuptools, and circup needs it · Issue #213 · adafruit/circup · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Python 3.12 does not provide setuptools, and circup needs it #213
Open
@dhalbert

Description

@dhalbert

I installed circup 1.8.0 in a venv with Python 3.12.3 on Ubuntu 24.04. A Two problem arose:

  1. circup expects setuptools to be installed because it uses pkg_resources. pkg_resources is deprecated. From https://setuptools.pypa.io/en/latest/pkg_resources.html:

Use of pkg_resources is deprecated in favor of importlib.resources, importlib.metadata and their backports (importlib_resources, importlib_metadata). Some useful APIs are also provided by packaging (e.g. requirements and version parsing). Users should refrain from new usage of pkg_resources and should work to port to importlib-based solutions.

2. After installing setuptools to work around problem 1, I got this when trying a simple install:
[deleted; my PATH was wrong]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0