[Python] How to solve the interrupt by signal 9: SIGKILL?

Discussão em 'Python' iniciado por Stack, Maio 11, 2025.

  1. Stack

    Stack Membro Participativo

    Below is my code:

    with open(filename, 'r') as f:
    vectors = {}
    for line in f:
    vals = line.rstrip().split(' ')
    vectors[vals[0]] = vals[1:]


    And it got this: Process finished with exit code 137 (interrupted by signal 9: SIGKILL). How should I optimize my code?

    Continue reading...

Compartilhe esta Página