Hello, I have just installed openbabel and the python bindings for  
windows.  I am running Python 2.6.4. (this is on parallels running on  
a macbook pro)
When I try the import commands, I get the following error:

Traceback (most recent call last):
   File "C:/Python26/mol_weight.py", line 31, in <module>
     import openbabel
   File "C:\Python26\lib\site-packages\openbabel.py", line 25, in  
<module>
     _openbabel = swig_import_helper()
   File "C:\Python26\lib\site-packages\openbabel.py", line 24, in  
swig_import_helper
     return _mod
UnboundLocalError: local variable '_mod' referenced before assignment

When I test the installation as described on the wiki page, the  
responses to the entered commands are as described up to the 'import  
pybel' command, which gives the above error.

Any suggestions would be much appreciated.

--Carla Ng

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
OpenBabel-scripting mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting

Reply via email to