Forums » Software Installation »
More than one Leginon installed at the same time
Added by Jim Pulokas over 18 years ago
It is possible to have two or more versions of Leginon installed at the same time, which may or may not be intentional, and could cause some confusion if you were not expecting it. This is how it happens and how to deal with it.
This is only possible if you have more than one version or installation of python installed on your system. For instance, you may have python 2.3 and python 2.4 installed. Or you maybe have python 2.4 installed in two locations, such as in /usr/local/... and /usr/... In any case, it is important to note which python you are using at any time. Leginon can be installed into any or all of them depending on your choice.
When you install Leginon using the command:
python setup.py installit is important to note what python this is refering to. If you are unsure of which python it is using, enter this command:
which python. This will list the first python found in your search path. If this is not the one you want to install Leginon to, then you need to specify the full path, such as:
/usr/local/bin/python setup.py install
In addition, the start-leginon.py script is installed according to which python you are using. If you are using /usr/bin/python, then start-leginon.py will also be installed in /usr/bin. So when you run start-leginon.py, you need to be aware of which one you are using. Again, you can use the "which" command to find out, or just specify the full path to be sure.
Once Leginon is started, you can look in the Help->About menu item to confirm that you are running the version of Leginon you think you are.