Victor Alves wrote:
Dear all
I installed Coot with Python and GTK2 in Ubuntu Intrepid 8.10.
Ubuntu 8.10 has Python 2.5.
Since 'ccp4-others.setup' file points to Coot's directory when I check
'which python' I get version 2.6 (the one Coot provides).
Is there a way to isolate Coot's python from Ubuntu system but still
maintaining the ability to call Coot from the terminal? So that Ubuntu's
Python version would be the active one for all the system (except for Coot)?
Dear Victor,
Thank you for reporting this problem.
It is not unreasonable for ccp4's setup to add the coot binary directory
to the path. However, (as you have noted) Coot adds its built-in python
to this directory - and we do that deliberately (but I don't see why,
currently). You could try to remove python, python-2.6, python-config
and python-2.6-config from that directory and coot should still work fine.
Please try this out and let us know if there are problems, I will remove
their addition to the binaries if there are not.
(Of course, Kay's solution also works - and I do something like that
myself, which is why I have not seen this problem).
Regards,
Paul.