maintainer-feedback requested: [Bug 266488] math/py-pandas: Fails to print version
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 266488] math/py-pandas: Fails to print version"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Sep 2022 23:57:16 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody) <python@FreeBSD.org> for maintainer-feedback: Bug 266488: math/py-pandas: Fails to print version https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266488 --- Description --- This script: > import pandas as pd > print(pd.show_versions()) fails: > Traceback (most recent call last): > File "/disk-samsung/freebsd-ports/misc/py-eemeter/v.py", line 5, in <module> > print(pd.show_versions()) > File "/usr/local/lib/python3.9/site-packages/pandas/util/_print_versions.py", line 109, in show_versions > deps = _get_dependency_info() > File "/usr/local/lib/python3.9/site-packages/pandas/util/_print_versions.py", line 88, in _get_dependency_info > mod = import_optional_dependency(modname, errors="ignore") > File "/usr/local/lib/python3.9/site-packages/pandas/compat/_optional.py", line 115, in import_optional_dependency > module = importlib.import_module(name) > File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 1030, in _gcd_import > File "<frozen importlib._bootstrap>", line 1007, in _find_and_load > File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 680, in _load_unlocked > File "<frozen importlib._bootstrap_external>", line 850, in exec_module > File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed > File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line 8, in <module> > import _distutils_hack.override # noqa: F401 > File "/usr/local/lib/python3.9/site-packages/_distutils_hack/override.py", line 1, in <module> > __import__('_distutils_hack').do_override() > File "/usr/local/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 77, in do_override > ensure_local_distutils() > File "/usr/local/lib/python3.9/site-packages/_distutils_hack/__init__.py", line 64, in ensure_local_distutils > assert '_distutils' in core.__file__, core.__file__ > AssertionError: /usr/local/lib/python3.9/distutils/core.py Version: 1.3.5,1 Python-3.9 FreeBSD 13.1 STABLE