Failed to find python version from target process (py-spy 0.3.14, python 3.11)
Author: le-cardinalCreated Apr 2, 2025Updated Jun 12, 2026
hi,
getting a cmmon error running my container based on a alpine-python linux image, so installation is done with RUN apk add py-spy --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted
After trying to enter into the container and using py-spy, i got an error: 'py-spy top --pid 10 Error: Failed to find python version from target process'
Any idea ?
Regards /daniel
Source: benfred/py-spy