Skip to content

Python 3.14 - Failed to find python version from target process #823

Description

@MaxG87

First of all, thank you very much for this interesting project. I was looking for an all-in-one flame graph generator and this project looks like it is a very good fit for my needs. Unfortunately, I was unable to use it, though.

I am on CachyOS, an Arch Linux derivate, with Python 3.14. I installed py-spy from AUR and have version 0.4.1.

Running py-spy as suggested in the README yields an error:

$ py-spy --version
py-spy 0.4.1
$ py-spy record -o primes.svg -- python primes.py
Error: Failed to find python version from target process
$ sudo py-spy record -o primes.py.svg -- python primes.py
Error: Failed to find python version from target process

Since this kind of error was reported a few times and often had to be addressed with a fix, I hope reporting it again is the right thing to do here. If I am using py-spy the wrong way, I'd appreciate some helpful hint.

Thank you for all the effort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions