Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.