Date: Sun, 18 Sep 2022 23:57:16 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266488] math/py-pandas: Fails to print version Message-ID: <bug-266488-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266488 Bug ID: 266488 Summary: math/py-pandas: Fails to print version Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: python@FreeBSD.org Reporter: yuri@freebsd.org Flags: maintainer-feedback?(python@FreeBSD.org) Assignee: python@FreeBSD.org 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 <mo= dule> > print(pd.show_versions()) > File "/usr/local/lib/python3.9/site-packages/pandas/util/_print_version= s.py", line 109, in show_versions > deps =3D _get_dependency_info() > File "/usr/local/lib/python3.9/site-packages/pandas/util/_print_version= s.py", line 88, in _get_dependency_info > mod =3D import_optional_dependency(modname, errors=3D"ignore") > File "/usr/local/lib/python3.9/site-packages/pandas/compat/_optional.py= ", line 115, in import_optional_dependency > module =3D importlib.import_module(name) > File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in imp= ort_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_unloc= ked > 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_re= moved > File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", l= ine 8, in <module> > import _distutils_hack.override # noqa: F401 > File "/usr/local/lib/python3.9/site-packages/_distutils_hack/override.p= y", line 1, in <module> > __import__('_distutils_hack').do_override() > File "/usr/local/lib/python3.9/site-packages/_distutils_hack/__init__.p= y", line 77, in do_override > ensure_local_distutils() > File "/usr/local/lib/python3.9/site-packages/_distutils_hack/__init__.p= y", 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266488-7788>