Skip to content

pycistopic UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. #617

@danli349

Description

@danli349

Hello

When I run the Tutorials "https://pycistopic.readthedocs.io/en/latest/notebooks/human_cerebellum.html"

pycistopic tss gene_annotation_list | grep Human

/home/dan/miniconda3/envs/scenicplus/lib/python3.11/site-packages/pycisTopic/__init__.py:3: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  from pkg_resources import DistributionNotFound, get_distribution
hsapiens_gene_ensembl	Human genes (GRCh38.p14)

How should I solve this problem?
Thanks a lot

Best
Dan

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