问题描述
我已经使用安装Emacs软件包
jedi-emacs
Mx软件包安装
和以下Python包:
-
Jedi
/ li>
-
EPC
-
argparse
/ li>
使用:
-
pip install --install-option = - prefix =〜/ .my_python_packages /jedi
-
install-option = - prefix = /。my_python_packages /epc
-
pip install --install-option = - 由于我没有root权限,所以前缀= /。my_python_packages /argparse
当我打开一个Python文件时,我在minibuffer中收到以下错误,无论我在哪里放置光标:
deferred错误:(错误服务器可能会引发错误:追溯(最近的最后一次呼叫):
文件/home/avazquez/.emacs.d/elpa/jedi-20130119.830 /jediepcserver.py,li ne 261,< module>
)
可能导致什么?
这是与 Emacs 24.2.1
我发现解决我的问题我没有正确设置 PYTHONPATH
(它应该包含 / path / to / custom-packages
的相应路径)
有关此问题的更多信息,请参阅。
I have installed the Emacs package jedi-emacs
using M-x package install
and the following Python packages:
Jedi
EPC
argparse
using:
pip install --install-option="--prefix=~/.my_python_packages/" jedi
pip install --install-option="--prefix=/.my_python_packages/" epc
pip install --install-option="--prefix=/.my_python_packages/" argparse
since I do not have root priviledges.
When I open a Python file, I get the following error in the minibuffer, no matter where I place the cursor:
deferred error : (error Server may raise an error : Traceback (most recent call last): File "/home/avazquez/.emacs.d/elpa/jedi-20130119.830/jediepcserver.py", line 261, in <module>)
What could be causing it?
This is with Emacs 24.2.1
I found the solution to my problem. I did not have PYTHONPATH
set up correctly (it should include the corresponding paths for /path/to/custom-packages
).
For more info on this issue see the corresponding ticket in the package repository for emacs-jedi.
这篇关于Emacs推迟错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!