[Python] Importing umap hangs and exits silently

Discussão em 'Python' iniciado por Stack, Março 9, 2025.

  1. Stack

    Stack Membro Participativo

    I am running some application code that relies on umap. However, when trying to import the module, it simply hangs and suddenly dies without any error message:

    print("Importing umap")
    import umap
    print("Imported umap") # Never reached.


    Unfortunately, I am unable to reproduce it when I have a minimal script that simply imports the module. I debugged a bit into it and it dies in different places. My question is how can I debug this?

    Running this on a macOS Sequoia 15.0.1 with Python 3.11 (tried it with 3.9 as well though). Seems to be some combination of OS + specific setup, but my peers don't run into this running the same code.

    Continue reading...

Compartilhe esta Página