Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

Running python from my terminal currently uses the packaged Cygwin install;

$ which python

But I want it to point at;


in other words;


I could add an alias in my ~/.profile but this feels hacky to me, the latter python is on my path but the Cygwin bundled version overrides it.

I am actually using xrvt if it makes any difference.

Many thanks in advance!

share|improve this question

or use an alias. There's nothing hacky about that - it's what they're for.

One might be tempted to use update-alternatives or manually create a symlink, but doing so will break things that depend on a particular version of Python.

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.