Could you copy and paste the entire transcript of the installation
tests 
(http://openbabel.org/docs/dev/UseTheLibrary/PythonInstall.html#test-the-installation)
from the same command prompt?

- Noel

On 4 April 2011 21:41, Paul Brennan <drbren...@gmail.com> wrote:
> Hi,
> I am having a problem installing pybel in Windows XP.  I am using Windows XP
> SP3, have Python 2.7.1 installed on C:\, OpenBabel-2.3.0 installed on C:\
> and installed the bindings via openbabel-python-1.6.py27.exe.  The OpenBabel
> GUI works fine, BABEL_DATADIR is set to C:\OpenBabel-2.3.0\data and I can
> run through the first two installation tests, babel -V and babel -Hsdf from
> Idle or the command line with the expected results; but when I try the third
> test:
>
>>>> import pybel
>>>> mol = pybel.readstring("smi", "CC(=O)Br")
>>>> mol.make3D()
>>>> print(mol.write("sdf"))
>
> I don't get the expected sdf description, I get
>
> Traceback (most recent call last):
>   File "<pyshell#2>", line 1, in <module>
>     mol = pybel.readstring("smi", "CC(=O)Br")
>   File "C:\Python27\lib\site-packages\pybel.py", line 119, in readstring
>     raise ValueError("%s is not a recognised OpenBabel format" % format)
> ValueError: smi is not a recognised OpenBabel format
>
> Any help fixing the installation would be most appreciated.
>
> Paul
>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>
>

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to