pymacs

Pymacs helper did not start after 30 seconds

落花浮王杯 提交于 2019-12-23 18:44:11
问题 I've seen other questions on this, but none of them were actually answered, and none of them are quite my issue. I have a new system, emacs 23.1, Centos 6.2 (I think). I downloaded the newest pymacs and installed it. However, I'm getting: error: Pymacs helper did not start within 30 seconds This is with a .emacs and .bashrc that have always worked before. Also, it appears that when I run from gnome, it does find the pymacs helper (but ropemacs doesn't run), but in KDE (which is what I'm

running matplotlib or enthought.mayavi.mlab from a py-shell inside emacs on windows

江枫思渺然 提交于 2019-12-07 22:32:38
问题 I can run the following code fine from a regular cmd shell: import matplotlib.pyplot as plt fig = plt.figure() plt.show() It launches a matplotlib window. However, running inside emacs using shell or py-shell: the buffer just hangs and no window is launched. Anyone know what's going on here, or how to fix it ? Thanks. 回答1: got it working with ipython.el. had to add modify python26\scripts\ipython.bat @"c:\Python26\python.exe" "-i" "c:\Python26\scripts\ipython.py" "-wthread" %* then in emacs:

running matplotlib or enthought.mayavi.mlab from a py-shell inside emacs on windows

依然范特西╮ 提交于 2019-12-06 07:51:01
I can run the following code fine from a regular cmd shell: import matplotlib.pyplot as plt fig = plt.figure() plt.show() It launches a matplotlib window. However, running inside emacs using shell or py-shell: the buffer just hangs and no window is launched. Anyone know what's going on here, or how to fix it ? Thanks. got it working with ipython.el . had to add modify python26\scripts\ipython.bat @"c:\Python26\python.exe" "-i" "c:\Python26\scripts\ipython.py" "-wthread" %* then in emacs: (setq ipython-command "c:/python26/scripts/ipython.bat") (require 'ipython) (py-shell) Well after a

Pymacs not starting on Emacs24 Carbon

戏子无情 提交于 2019-12-05 02:30:48
问题 I've followed the EnigmaCurry instructions for setting up a good python IDE in emacs. I didn't follow verbatim, since a bit has changed in emacs24 and I use customizer heavily to set options. In any case, when I was setting up flymake, I ran into a problem whereby Carbon Emacs doesn't have the same PATH as my shell, which I fixed by doing this. I suspect something similar is happening with pymacs. Starting emacs, I get this error: error: Pymacs helper did not start within 30 seconds

How can I use meta-dot (M-.) in python with emacs?

做~自己de王妃 提交于 2019-12-04 16:35:55
问题 Is there an equivalent of slime for python? For example, if I position the cursor on foo() and do M-. (jump to definition) I would like to see the source definition of the function foo This should work regardless of whether foo is in 1) the local project directory 2) in some ~/.virtualenvs/bar/lib/site-packages 3) in some other python-path 4) virtual env is in use (ie, it should look in my current virtualenv) Does the pymacs/ropemacs combination do any of this? 回答1: To avoid the -e you can

Pymacs not starting on Emacs24 Carbon

萝らか妹 提交于 2019-12-03 20:39:38
I've followed the EnigmaCurry instructions for setting up a good python IDE in emacs. I didn't follow verbatim, since a bit has changed in emacs24 and I use customizer heavily to set options. In any case, when I was setting up flymake, I ran into a problem whereby Carbon Emacs doesn't have the same PATH as my shell, which I fixed by doing this . I suspect something similar is happening with pymacs. Starting emacs, I get this error: error: Pymacs helper did not start within 30 seconds Inspecting the *Pymacs* buffer, I note: ImportError: No module named Pymacs My site-packages directory is in

How can I use meta-dot (M-.) in python with emacs?

落爺英雄遲暮 提交于 2019-12-03 09:45:39
Is there an equivalent of slime for python? For example, if I position the cursor on foo() and do M-. (jump to definition) I would like to see the source definition of the function foo This should work regardless of whether foo is in 1) the local project directory 2) in some ~/.virtualenvs/bar/lib/site-packages 3) in some other python-path 4) virtual env is in use (ie, it should look in my current virtualenv) Does the pymacs/ropemacs combination do any of this? To avoid the -e you can use etags and with a find you recursively add the py file: find . -type f -name '*.py' | xargs etags Most of

Clear steps to install pymacs with emacs 24?

ぐ巨炮叔叔 提交于 2019-11-27 21:42:00
I want autocompletion and refactoring in emacs with python. I gather that I need rope to do this. To do this with emacs, I need ropemacs. Ropmacs depends on pymacs. Pymacs is hard to install...or at least the instructions are not clear to me. Do I need to do two things? Install pymacs and then install a file that tells emacs to talk to pymacs? I've already installed rope and ropemacs super easily, with pip install rope ropemacs Here's what I did: pip install -e "git+https://github.com/pinard/Pymacs.git#egg=Pymacs" This installs ok on mac os x mountain lion according to PIP. But I have a

Clear steps to install pymacs with emacs 24?

白昼怎懂夜的黑 提交于 2019-11-26 20:46:49
问题 I want autocompletion and refactoring in emacs with python. I gather that I need rope to do this. To do this with emacs, I need ropemacs. Ropmacs depends on pymacs. Pymacs is hard to install...or at least the instructions are not clear to me. Do I need to do two things? Install pymacs and then install a file that tells emacs to talk to pymacs? I've already installed rope and ropemacs super easily, with pip install rope ropemacs Here's what I did: pip install -e "git+https://github.com/pinard