ADL: MGL Issues

Jack Shultz jackygrahamez at gmail.com
Sun Nov 4 16:12:04 PST 2007


I was finally able to run normal python by running python2.4
So I got some progress but I still think I need to set the environment
like I did on the linux ports. So should I be seeing a mglenv.sh that
works on Mac?

Jack

On 11/4/07, Jack Shultz <jackygrahamez at gmail.com> wrote:
> This might be helpful too. I really don't know python too well.
>
> m-mac207722:~ jshultz$ python
> Could not find platform independent libraries <prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> Python 2.4.2 (#3, Feb  3 2006, 15:41:52)
> [GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> ^D
> m-mac207722:~ jshultz$ which python
> /Library/MGLTools/1.4.6/ppcDarwin8/bin/python
> m-mac207722:~ jshultz$
>
>
> On 11/4/07, Jack Shultz <jackygrahamez at gmail.com> wrote:
> > Thanks to some help from Sargis a month ago I got the python scripts
> > ported windows and linux binaries using pyinstaller. Given my efforts
> > to run AutoDock through distributed computing, now I'm trying to do
> > the same with mac.
> >
> > But I'm getting this error about X11 but I'm not sure how to reinstall it.
> > m-mac207722:/Library/MGLTools/1.4.6/MGLToolsPckgs/AutoDockTools/Utilities24
> > jshultz$ pythonsh prepare_ligand4.py -l nsc19892.mol2
> > Starting X11
> > 2007-11-04 18:11:38.060 open[895] Couldn't launch application:  X11
> > This actually does successfully prepare the ligand
> >
> > Is there support for mglenv.sh in Mac PowerPC? That is how I was able
> > to load the environment for for pythonsh without running python.
> >
> > When I run any python scripts I get this type of error so I wonder if
> > my python is broken and how to fix
> >
> > m-mac207722:~/Desktop/pyinstaller/pyinstaller jshultz$ python Configure.py
> > Could not find platform independent libraries <prefix>
> > Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> > 'import site' failed; use -v for traceback
> > Traceback (most recent call last):
> >   File "Configure.py", line 20, in ?
> >     import os, sys, string, shutil
> > ImportError: No module named os
> > m-mac207722:~/Desktop/pyinstaller/pyinstaller jshultz$
> >
> > Regards,
> >
> > Jack
> > ________________________________________________
> > --- ADL: AutoDock List  --- http://autodock.scripps.edu/mailing_list ---
> >
>


More information about the autodock mailing list