我正在尝试按照 http://hide1713.wordpress.com/2009/01/30/setup-perfect-python-environment-in-emacs/ 上的设置进行操作
我的步骤 1 - 3 运行良好。
然后我进入第 4 部分:设置 Rope、Ropemacs 和 Pymacs。
我们需要 Rope 和 Ropemacs 的最新开发版本。否则,emacs 无法找到 rope-completions 函数。 我只是从 Ryan 的网站上复制粘贴。您可以在此处找到原始帖子
sudo apt-get install mercurial
mkdir /tmp/rope && cd /tmp/rope
hg clone http:// bitbucket . org/agr/rope
hg clone http:// bitbucket . org/agr/ropemacs
hg clone http:// bitbucket . org/agr/ropemode
sudo easy_install rope
ln -s ../ropemode/ropemode ropemacs/
sudo easy_install ropemacs
我在 OS 10.4.11 上运行 GNU Emacs 22.0.97.1
我尝试通过终端运行它,但出现错误:sudo: apt-get: command not found
最佳答案
apt-get 仅适用于基于 Debian 的系统,如 Ubuntu 和 *buntu。 RPM 发行版使用各种其他系统,但 yum 似乎占主导地位。
因为您使用的是 Mac,请安装 MacPorts .您需要先安装 XCode,您可以在注册后从 Apple 获得(免费)。
关于python - 尝试在 emacs 中开发 python,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4515535/