Skip to content

Problems when installing and testing g6k #120

@zlhlovelattice

Description

@zlhlovelattice

I run PYTHON=python3 ./bootstrap.sh, and then run the command python -m pytest,
the following situation occurs, how can I solve it

g6k/init.py:23
/home/zlh/Desktop/G6K/g6k/g6k/init.py:23: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from .siever_params import SieverParams # noqa

g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871
/home/zlh/Desktop/G6K/g6k/g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('mpl_toolkits').
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871
/home/zlh/Desktop/G6K/g6k/g6k-env/lib/python3.10/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('sphinxcontrib').
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================== 22 passed, 3 warnings in 74.56s (0:01:14) ===================

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