ChrisC
ChrisC

Reputation: 916

Trying to develop python in emacs

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

Upvotes: 4

Views: 531

Answers (3)

Damien Pollet
Damien Pollet

Reputation: 6598

Give a try to el-get, it's really nice to install and keep all your elisp extensions up-to-date.

Upvotes: 2

robert
robert

Reputation: 34398

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).

Upvotes: 3

Victor Zamanian
Victor Zamanian

Reputation: 3180

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?

Upvotes: 1

Related Questions