Hi, I got the following error. Does anybody know what is wrong? Thanks.

$ cat main.py
#!/usr/bin/env python

import pybel
mymol = pybel.readstring("smi", "CCCC")
print mymol.molwt
$ ./main.py
Traceback (most recent call last):
  File "./main.py", line 5, in <module>
    mymol = pybel.readstring("smi", "CCCC")
AttributeError: 'module' object has no attribute 'readstring'

-- 
Regards,
Peng

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to