Trying to develop python in emacs

I am trying to setup http://hide1713.wordpress.com/2009/01/30/setup-perfect-python-environment-in-emacs/

I have steps 1 to 3 that work fine.

Then I will go to section 4: Setup Rope, Ropemacs, and Pymacs.

We need the latest version of Rope and Ropemacs. Otherwise, emacs cannot find the rope termination function. I just copy the paste from the Ryans website. Here you can find the original message

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 to run this through the terminal, but I got an error: sudo: apt-get: command not found

+4
source share
3 answers

apt-get only works on Debian based systems such as Ubuntu and * buntu. RPM distribution uses many other systems, but yum seems to prevail.

Since you are on a Mac, install MacPorts . First you need to install Xcode, which you can get from Apple after registering (for free).

+3
source

Try el-get , it’s very nice to install and keep all your elisp extensions up to date.

+2
source

Well, apt-get is a package manager for Debian based Linux systems. It will not exist on most Mac computers. No matter what kind of programs Ryan wants to install (using apt-get), you will have to try installing accordingly for Mac OS X.

You really meant that you were using Mac OS X, right?

+1
source

Source: https://habr.com/ru/post/1333122/


All Articles