---------- Forwarded message ----------
From: Daniel Sindhikara <[email protected]>
Date: Mon, Jul 25, 2011 at 4:29 PM
Subject: Re: [OpenBabel-scripting] importing pybel
To: Noel O'Boyle <[email protected]>
I am running Mac OSX 10.6.8. When I e-mailed you originally I had installed
"iBabel" the mac version. Since then tried installing the linux version and
I suppose it installed correctly, but I still cannot import it:
16:25:32 [danpc: ~]$ python2.7
Python 2.7.2 (default, Jun 21 2011, 13:19:45)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybel
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/Users/sindhikara/Tools/openbabel-install/lib/python2.7/site-packages/pybel.py",
line 16, in <module>
import openbabel as ob
File
"/Users/sindhikara/Tools/openbabel-install/lib/python2.7/site-packages/openbabel.py",
line 70, in <module>
_openbabel = swig_import_helper()
File
"/Users/sindhikara/Tools/openbabel-install/lib/python2.7/site-packages/openbabel.py",
line 66, in swig_import_helper
_mod = imp.load_module('_openbabel', fp, pathname, description)
ImportError:
dlopen(/Users/sindhikara/Tools/openbabel-install/lib/python2.7/site-packages/_openbabel.so,
2): Symbol not found: __ZTVN9OpenBabel20OBRMSDConformerScoreE
Referenced from:
/Users/sindhikara/Tools/openbabel-install/lib/python2.7/site-packages/_openbabel.so
Expected in: flat namespace
in
/Users/sindhikara/Tools/openbabel-install/lib/python2.7/site-packages/_openbabel.so
On Wed, Jul 13, 2011 at 10:19 PM, Noel O'Boyle <[email protected]> wrote:
> Hi Dan,
>
> What operating system? How did you install Open Babel?
>
> - Noel
>
> On 11 July 2011 12:28, Daniel Sindhikara <[email protected]> wrote:
> > Hello,
> > I'm somewhat new to python but would like to use pybel. I have
> openbabel
> > installed, but I'm not sure exactly how to get pybel working. Do I need
> to
> > install pybel separately? Is it included in some package? I can't find a
> > download link for it. Of course if I try "import pybel" I get: Traceback
> > (most recent call last):
> > File "<pyshell#0>", line 1, in <module>
> > import pybel
> > ImportError: No module named pybel
> >
> > Thanks for any help!
> > --Dan
> >
> >
> >
> ------------------------------------------------------------------------------
> > AppSumo Presents a FREE Video for the SourceForge Community by Eric
> > Ries, the creator of the Lean Startup Methodology on "Lean Startup
> > Secrets Revealed." This video shows you how to validate your ideas,
> > optimize your ideas and identify your business strategy.
> > http://p.sf.net/sfu/appsumosfdev2dev
> > _______________________________________________
> > OpenBabel-scripting mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/openbabel-scripting
> >
> >
>
--
Dr. Daniel J. Sindhikara
Institute for Molecular Science
E-mail: [email protected]
Website: http://sites.google.com/site/dansindhikara/
--
--
Dr. Daniel J. Sindhikara
Institute for Molecular Science
E-mail: [email protected]
Website: http://sites.google.com/site/dansindhikara/
--
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
OpenBabel-scripting mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting