Skip to content

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

@aymuos15

Description

@aymuos15

Describe the bug

ModuleNotFoundError: No module named 'numpy.strings'

REF: hexgrad/kokoro#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions