I'm running Ubunutu 13.04. When using IPython, it points to a 3.3.1 copy of python that was installed in /usr/bin. I recently installed the most recent release of Python (3.3.2), which installed itself to /usr/local/bin. This means that typing 'python3' into the terminal, python3.3.2 comes up, but when I type 'ipython3', it uses 3.3.1.
I know this doesn't affect my programming (I'm not advanced of a user enough to make use of any of the differences between .1 and .2), but I'd still rather tidy my system up and use the most recent version. I tried using the fix given here, changing
#!/usr/bin/python3
to
#!/usr/local/bin/python3
But the following error is given:
Traceback (most recent call last): File "/usr/bin/ipython3", line 5, in from pkg_resources import load_entry_point ImportError: No module named 'pkg_resources'
So the questions are:
1) How can I make python3.3.2 install over 3.3.1 (ie not in /local/)? I have no need for 3.3.1 once 3.3.2 is going.
2) How can I change IPython to point to python in /local/?
3) Which one of these options is better?