openbabel / conda-openbabel

Conda build recipe for Open Babel
2 stars 4 forks source link

Pybel missing library #9

Closed mskblackbelt closed 4 years ago

mskblackbelt commented 4 years ago

I tried installing OpenBabel via conda install -c conda-forge openbabel, and it seemed to succeed. I'm able to find the obabel binary and all of the tests in meta.yaml run just fine. However, when I try to run import pybel in python (either a Jupyter notebook or the REPL), I get

ModuleNotFoundError: No module named 'pybel'

It looks like the python bindings aren't built or just not linked to the local library. Is there a quick fix I can do for this?

mcs07 commented 4 years ago

Use from openbabel import pybel since v3

mskblackbelt commented 4 years ago

Got it, thank you. The version of cclib on conda-forge is still out of date, that was the source of my confusion.