pythonemacspythonpathropemacsrope

How can I insert new modules in PYTHONPATH?


I'm installing http://bitbucket.org/agr/ropemacs for my emacs.

In README.txt it say:

Note that rope and ropemacs should be in your PYTHONPATH for this to work.

I check my sys.path python, but there is't any ropemacs there! but I have installed it! how can I instert ropemacs in PYTHONPATH?


Solution

  • If you ran the included setup.py, then the package should be correctly installed and all is well, you can checky by importing it, open a python prompt and type import ropemacs.

    You probably wouldn't see a directory just for this package, because setuptools normally installs python packages in your site-packages directory, which on my machine is in /usr/lib/python2.7/site-packages and C:\Python27\Lib\site-packages, for the obvious platforms.