-
Notifications
You must be signed in to change notification settings - Fork 435
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: Couldn't find python binary #6
Comments
I'm not sure what's happening here =( Can you enable logging and paste the output here ?
|
I'm also seeing this on EL7, with the OS installation of python 2.7:
|
Having a similar problem on Linux 4.15.0 (Ubuntu 18.04). Installed py-spy as root, running a Python web server from within a virtualenv using systemd.
Thank you for the awesome tool, by the way. |
The similar problem on embedded Python interpreters like uWSGI. |
Ah, I'm also using uWSGI ^ |
I think there are at least two issues being reported here. The first of which is running on Centos 7 / EL7. I think this is because on this platform python is configured with The second problem is getting py-spy to work with uwsgi, I've created a new issue to track #25. I should have a fix for this next week, it doesn't look too hard to get going. Thanks everyone for trying this project out! |
I pushed v0.1.5 which contains the centos7 fix, |
Hi,
After installing in root via
And running as root via
.cargo/bin/py-spy --pid 11792
I have this error
py-spy is unable to find the python binary.
I also have tried as the same user as the process with the virtualenvironment loaded but I have the same error message.
My app is in a virtual environment
/home/myuser/env36/flexssl/bin/python3
My OS is EL7
I don't understand how the code lookup for the python binary path
Best regards,
The text was updated successfully, but these errors were encountered: