Dear Openbalel team,

I am running into a problem where I cannot import my pybel module into my
python script.

Attached is a text file that shows the record of using your installation
testing commands and what the error looks like.
C:\Users\Hoa Le>obabel -V
Open Babel 2.4.1 -- Oct 10 2016 -- 21:23:29

C:\Users\Hoa Le>obabel -Hsdf
sdf  MDL MOL format
Reads and writes V2000 and V3000 versions

Open Babel supports an extension to the MOL file standard
that allows cis/trans and tetrahedral stereochemistry to be
stored in 0D MOL files. The tetrahedral stereochemistry is
stored as the atom parity, while the cis/trans stereochemistry
is stored using Up and Down bonds similar to how it is
represented in a SMILES string. Use the ``S`` option
when reading or writing if you want to avoid storing
or interpreting stereochemistry in 0D MOL files.

Read Options, e.g. -as
 s  determine chirality from atom parity flags
       The default setting for 2D and 3D is to ignore atom parity and
       work out the chirality based on the bond
       stereochemistry (2D) or coordinates (3D).
       For 0D the default is already to determine the chirality
       from the atom parity.
 S  do not read stereochemistry from 0D MOL files
       Open Babel supports reading and writing cis/trans
       and tetrahedral stereochemistry to 0D MOL files.
       This is an extension to the standard which you can
       turn off using this option.
 T  read title only
 P  read title and properties only
       When filtering an sdf file on title or properties
       only, avoid lengthy chemical interpretation by
       using the ``T`` or ``P`` option together with the
       :ref:`copy format <Copy_raw_text>`.

Write Options, e.g. -x3
 3  output V3000 not V2000 (used for >999 atoms/bonds)
 a  write atomclass if available
 m  write no properties
 w  use wedge and hash bonds from input (2D only)
 S  do not store cis/trans stereochemistry in 0D MOL files
 A  output in Alias form, e.g. Ph, if present
 E  add an ASCII depiction of the molecule as a property
 H  use HYD extension (always on if mol contains zero-order bonds)


Specification at: http://www.mdl.com/downloads/public/ctfile/ctfile.jsp

C:\Users\Hoa Le>dir "%BABEL_DATADIR%"\mr.txt
 Volume in drive C has no label.
 Volume Serial Number is 6A05-DD3F

 Directory of C:\Users\Hoa Le\AppData\Roaming\OpenBabel-2.4.1\data

10/10/2016  04:20 PM             4,295 mr.txt
               1 File(s)          4,295 bytes
               0 Dir(s)  136,770,617,344 bytes free

C:\Users\Hoa Le>python
Python 3.7.1 (default, Dec 10 2018, 22:09:34) [MSC v.1915 32 bit (Intel)] :: 
Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pybel
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pybel'
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to