Hello everyone,

my plugin needs Biopython.
I wish check the Biopython installation by

try:
    from Bio import AlignIO                   # or similar       
except ImportError:
    .. prompt the user with a msg ..

The problem is:
what the msg to the user?

Downloading and installing Biopython is not enough:
If the user downloads and installs Biopython in the external python 
interpreter still Biopython continues to be unavailable for the internal python 
interpreter in pyMOL.

Of course the user could edit the PYTHONPATH environment variable and so all 
the python interpreters can read Biopython but  working with environment 
variables could be too difficult for a not experienced user. 

Is there a simpler way?

Cheers,
  roberto

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to