Super User is a question and answer site for computer enthusiasts and power users. 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

I've recently installed Enthought Python Distribution, after which it gave me the message:

As the last step, you should edit your .bashrc or prepend the EPD install path:

/home/j.inglis/epd-7.3-2-rh5-x86_64/bin

Thank you for installing EPD!

I read the answer to editing .bashrc file and did the echo 'export PATH=$PATH:/home/j.inglis/epd-7.3-2-rh5-x86_64/bin' >> ~/.bashrc, then logged out, then back in.

However, typing which python gives me /usr/local/bin/python rather than the desired /home/j.inglis/epd-7.3-2-rh5-x86_64/bin/python

Any help would be greatly appreciated!

share|improve this question
up vote 1 down vote accepted

The PATH is read starting at the front. So you need to get rid of the line you just added to your .bashrc file, and replace it with:

export PATH=/home/j.inglis/epd-7.3-2-rh5-x86_64/bin/python:$PATH

And it should work fine.

The other option would be to uninstall the version of python you do not want.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .