Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2023 18:31:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 266488] math/py-pandas: Fails to print version
Message-ID:  <bug-266488-21822-giPyC6CFve@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266488-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266488-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266488

--- 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: Us=
erWarning: 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_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 157, in import_optional_dependency
>     version =3D 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

--=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-21822-giPyC6CFve>