尝试在emacs中开发python
我正在尝试遵循 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
I am trying to follow the setup on http://hide1713.wordpress.com/2009/01/30/setup-perfect-python-environment-in-emacs/
I have steps 1 - 3 running great.
Then I get to part 4: Setup Rope, Ropemacs and Pymacs.
We need the latest development version of Rope and Ropemacs. Otherwise, emacs can not find the rope-completions function.
I just copy’n paste from Ryan’s website. You can find the original post here
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
I am running GNU Emacs 22.0.97.1 on OS 10.4.11
I tried running this through terminal but i get the error: sudo: apt-get: command not found
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
apt-get 仅适用于基于 Debian 的系统,例如 Ubuntu 和 *buntu。 RPM 发行版使用各种其他系统,但 yum 似乎占主导地位。
由于您使用的是 Mac,请安装 MacPorts。您需要先安装 XCode,您可以在注册后从 Apple 获取(免费)。
apt-get is only on Debian-based systems like Ubuntu and *buntu. RPM distributions use a variety of other systems, but yum seems to be predominant.
Since you're on a Mac, install MacPorts. You'll need to install XCode first, which you can get from Apple after you register (for free).
尝试一下
el-get
,真的很高兴安装并保持所有 elisp 扩展为最新。Give a try to
el-get
, it's really nice to install and keep all your elisp extensions up-to-date.apt-get 是基于 Debian 的 Linux 系统的包管理器。它在大多数 Mac 上都不存在。无论 Ryan 希望您安装什么程序(使用 apt-get),您都必须尝试以适合 Mac OS X 的方式安装。
您确实是说您使用的是 Mac OS X,对吗?
Well, apt-get is the package manager for Debian-based Linux systems. It will not exist on most Macs. Whatever programs Ryan wants you to install (using apt-get) you will have to try to install in the appropriate way for Mac OS X.
You did mean you were using Mac OS X, right?