-
Notifications
You must be signed in to change notification settings - Fork 439
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 python version from target process" on macOS #15
Comments
thanks for the bug report! I'm having some issues replicating though, I installed python 3.6.6 through pyenv on osx using I think your pyenv installation is different, it looks like you have a 'Python.app' style python distribution (like the system python/homebrew) instead of the one I got from pyenv which I believe just compiled the source. Do you remember how you installed it? My guess is that I'm failing to find the correct libpython from your distribution. Also could you paste the full log? The libpython filename should be something like '/usr/local/Cellar/python/3.6.4_2/Frameworks/Python.framework/Versions/3.6/Python' (homebrew) or '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (system python). |
I installed the Pyenv Python as a framework to have a Python shared library
The full log from trying to run PySpy is here: https://gist.github.com/776cd807a34eb8d37b37a8547c282fe0 The Python app is, I think, in |
We weren't matching the python framework appropiately for python built with pyenv when configured with '--enable-framework' (#15) Fix and add a unittest.
thanks! I hadn't tested python built on OSX with "--enable-framework". I have a fix here: 08b9871, and will be in the next release |
fix is in v0.1.5 |
Thanks! Works for me now as well. |
I'm getting this error for a Pyenv-installed Python running an Ipython kernel. Running with
RUST_LOG=info
, I getThe text was updated successfully, but these errors were encountered: