-
Notifications
You must be signed in to change notification settings - Fork 616
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
Python quit unexpectedly. #550
Comments
Seem you did not setup environment variable PATH correctly. Is ycm-core/YouCompleteMe#611 related to this issue? I guess you didn't mess up the python environment setup, but it doesn't hurt to double check https://docs.python.org/3/using/cmdline.html Besides, read my guide https://github.com/redguardtoo/mastering-emacs-in-one-year-guide |
I digged deeper into this problem. It is likely related to brew installed python or importmagic.
ycm-core/YouCompleteMe#585 |
Have you tried Elpy support virtualenv, http://elpy.readthedocs.io/en/latest/concepts.html#virtual-envs |
Yes, every project has its own virtual environment. |
If you setup all the environment variables I mentioned, there should be no problem. |
I'll go on studying this problem. |
Hi Bin,
I met a very strange problem, I think it is about elpy.
If I don't workon any virtual environment, Python often quit unexpectedly.
It might related to this process:
/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -W ignore -m elpy.__main__
Elpy Configuration
Virtualenv........: None
RPC Python........: 2.7.13 (/usr/local/bin/python)
Interactive Python: python (/usr/local/bin/python)
Emacs.............: 25.1.1
Elpy..............: 1.14.1
Jedi..............: 0.10.0
Rope..............: 0.10.3
Importmagic.......: 0.1.7
Autopep8..........: 1.2.4
Yapf..............: 0.16.0
Syntax checker....: flake8 (/usr/local/bin/flake8)
Thanks.
The text was updated successfully, but these errors were encountered: