panoptica icon indicating copy to clipboard operation
panoptica copied to clipboard

[BUG] Currently breaking on Colab because of a potential colab issue: `ModuleNotFoundError: No module named 'numpy.strings'`

Open aymuos15 opened this issue 6 months ago • 1 comments

Describe the bug

ModuleNotFoundError: No module named 'numpy.strings'

REF: https://github.com/hexgrad/kokoro/issues/138, Could you not find anything else really.

To Reproduce https://colab.research.google.com/drive/1W3iwKLBGzFvqH-6Dztbb05JX4D3jdhvH?usp=sharing

Basic Code Snippet:

!pip install uv
!uv pip install panoptica
from panoptica.panoptica_evaluator import Panoptica_Evaluator

Error Snippet

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-2-052dfccc2c4a>](https://localhost:8080/#) in <cell line: 0>()
----> 1 from panoptica.panoptica_evaluator import Panoptica_Evaluator

10 frames
[/usr/local/lib/python3.11/dist-packages/numpy/__init__.py](https://localhost:8080/#) in __getattr__(attr)
    374     _sanity_check()
    375     del _sanity_check
--> 376 
    377     def _mac_os_check():
    378         """

ModuleNotFoundError: No module named 'numpy.strings'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

Expected behavior Should work

Environment Colab

version of panoptica ?

Latest

aymuos15 avatar Jun 05 '25 06:06 aymuos15

Since this seems to be a bug from their side and not ours, will put this to "won't fix" for now.

Hendrik-code avatar Jun 11 '25 07:06 Hendrik-code