[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] modeller 9.11 and Ubuntu 12.04 installation



On 9/27/12 8:11 PM, Mike WA8BXN wrote:
I have tried variations of the ln commands shown in the installation guide
for Ubuntu 8 substituting 2.7 for the python version but still get the error
message when trying to run the samples with command lines beginning with
mod9.11 or python followed by the sample script file name.

Are you running the 32-bit or 64-bit version, desktop or server?

I just tried the 64-bit desktop version of Ubuntu 12.04 and mod9.11 works fine (it gives a warning about 'import site' but this is normal, as discussed in the FAQ). What (exactly) does it do on your system? "python" didn't work for me, since the Ubuntu folks seem to have moved things around since Ubuntu 10; now there is no /usr/lib64/ directory (which is where Modeller puts its Python extensions). I fixed this pretty easily by symlinking the extensions into /usr/lib/ with

sudo ln -s /usr/lib64/python2.7/dist-packages/modeller \
           /usr/lib/python2.7/dist-packages/

sudo ln -s /usr/lib64/python2.7/dist-packages/_modeller.so \
           /usr/lib/python2.7/dist-packages/

If this is your experience also, and those links fix things for you, let me know and I'll update the release notes accordingly.

On the 32-bit desktop version of Ubuntu 12.04, everything works fine for me.

	Ben Webb, Modeller Caretaker
--
             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage