================================================================================================== ERRORS ==================================================================================================
_____ ERROR collecting ESOAsg/test/test_queries.py ___
ImportError while importing test module '/home/khushboo/ESOAsg/ESOAsg/test/test_queries.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../anaconda3/lib/python3.11/importlib/init.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ESOAsg/init__.py:4: in
from ESOAsg import check_requirements # THIS IMPORT DOES THE CHECKING. KEEP IT
ESOAsg/check_requirements.py:18: in
raise ImportError('Your version of {0} is incompatible with ESOAsg. '.format(pkg)
E ImportError: Your version of healpy is incompatible with ESOAsg. Please update to version >= 1.14
============================================================================================= warnings summary =============================================================================================
ESOAsg/check_requirements.py:5
/home/khushboo/ESOAsg/ESOAsg/check_requirements.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
/home/khushboo/anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('ligo').
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)
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
/home/khushboo/anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('ruamel').
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)
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
/home/khushboo/anaconda3/lib/python3.11/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)
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871
/home/khushboo/anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('zope').
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
========================================================================================= short test summary info ==========================================================================================
ERROR ESOAsg/test/test_queries.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
====================================================================================== 11 warnings, 1 error in 0.09s =======================================================================================
(base) khushboo@khushboo-astro:~/ESOAsg$
Hi,
I have installed ESOAsg using the method given on this website https://esoasg.readthedocs.io/en/latest/installing.html. But I am getting errors while running pytest.
Please see the attached error msg. How shall I resolve the error? Kindly help.
Thank you, Khushboo
(base) khushboo@khushboo-astro:~/ESOAsg$ pytest =========================================================================================== test session starts ============================================================================================ platform linux -- Python 3.11.5, pytest-7.4.0, pluggy-1.0.0 rootdir: /home/khushboo/ESOAsg plugins: ligo.skymap-1.1.2, importnb-2023.11.1, requests-mock-1.11.0, anyio-3.5.0 collected 0 items / 1 error
================================================================================================== ERRORS ================================================================================================== _____ ERROR collecting ESOAsg/test/test_queries.py ___ ImportError while importing test module '/home/khushboo/ESOAsg/ESOAsg/test/test_queries.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: ../anaconda3/lib/python3.11/importlib/init.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) ESOAsg/init__.py:4: in
from ESOAsg import check_requirements # THIS IMPORT DOES THE CHECKING. KEEP IT
ESOAsg/check_requirements.py:18: in
raise ImportError('Your version of {0} is incompatible with ESOAsg. '.format(pkg)
E ImportError: Your version of healpy is incompatible with ESOAsg. Please update to version >= 1.14
============================================================================================= warnings summary =============================================================================================
ESOAsg/check_requirements.py:5
/home/khushboo/ESOAsg/ESOAsg/check_requirements.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 ../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 /home/khushboo/anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('ligo')
. Implementing implicit namespace packages (as specified in PEP 420) is preferred topkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg)../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 /home/khushboo/anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('ruamel')
. Implementing implicit namespace packages (as specified in PEP 420) is preferred topkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg)../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 ../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 ../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 ../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 ../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 ../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 /home/khushboo/anaconda3/lib/python3.11/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 topkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg)../anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871 /home/khushboo/anaconda3/lib/python3.11/site-packages/pkg_resources/init.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('zope')
. Implementing implicit namespace packages (as specified in PEP 420) is preferred topkg_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 ========================================================================================= short test summary info ========================================================================================== ERROR ESOAsg/test/test_queries.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ====================================================================================== 11 warnings, 1 error in 0.09s ======================================================================================= (base) khushboo@khushboo-astro:~/ESOAsg$