[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: Thu, 16 Nov 2023 18:31:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266488
--- Comment #4 from Yuri Victorovich <yuri@freebsd.org> ---
The same script fails because apparently the numba dependency is missing:
> $ python3.9 test-pandas.py
> /usr/local/lib/python3.9/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
> warnings.warn("Setuptools is replacing distutils.")
> Traceback (most recent call last):
> File "/usr/ports/test-pandas.py", line 2, 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 157, in import_optional_dependency
> version = get_version(module_to_get)
> File "/usr/local/lib/python3.9/site-packages/pandas/compat/_optional.py", line 84, in get_version
> raise ImportError(f"Can't determine version for {module.__name__}")
> ImportError: Can't determine version for numba
--
You are receiving this mail because:
You are the assignee for the bug.