-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Failed to find a python interpreter in the .data section #546
Comments
How did you install the python you are trying to profile ? |
Not the reporter, and we're on Windows here:
This python is downloaded from www.python.org, installed via PyCharm. py-spy is installed through pip.
|
Sorry for late reply. I install the python and pip by:
|
Same error here. My environment:
compiled with: |
Same error, my program (https://github.com/AUTOMATIC1111/stable-diffusion-webui) seems to run the first few lines and then it gives up later, it ends up spawning subprocesses (
EDIT: Fixed it, issue was I didn't install my python with debugging symbols ( |
thank you for this. i had the same .data error. i just reinstalled python with the symbols and it works now. Thank you! |
I too was having this same issue on Windows with a custom built python 3.10 binary running embedded in a very large application. Once I dropped the symbols alongside the DLL it worked like a charm! As a suggestion, it might be good to log about missing symbols with this error |
I got the
Error: Failed to find a python interpreter in the .data section
error when I runsudo env "PATH=$PATH" RUST_LOG=debug py-spy record -o profile.svg --pid 40067
.Here is the full log.
Here is my environment:
The text was updated successfully, but these errors were encountered: