Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Macports, I've just installed 'python27' along with various 'py27-*' ports.

I've noticed that ports like 'py27-nose' and 'py27-pip' are available in my path as 'nose-2.7' and 'pip-2.7'. I can use 'python_select' to choose my default version of python but does macports have sort some of alternatives system for other binaries or do I need to manually create my own aliases?

share|improve this question

There is a an incomplete way of switching between versions binaries it is the port python_select but only does the binaries in the base puthon install.

e.g. it symlinks /opt/local/bin/python to the python2.x version

It could do this for nose etc if a line for nose was added into base and python27 (and others) in /opt/local/etc/select/python

share|improve this answer

You'll have to create your own shell aliases. You could also make a symlink from /opt/local/bin/nose to /opt/local/bin/nose-2.7.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.