Re: [Open Babel] Problems importing pybel on Mac

2018-02-13 Thread Geoffrey Hutchison
> I'm on a mac running 10.13.1 and I installed openbabel using homebrew.

I’d ask the Homebrew folks, but my guess is that you’re either not using the 
right python:

% which python

Or, Homebrew is installing the Open Babel python packages into a directory that 
you’ll need to add to your Python path.

It’s also not obvious to me from the Homebrew formula whether pybel is 
installed by default:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/open-babel.rb

Note that I see:
option "with-python", "Compile Python language bindings”

I’m not 100% sure how Homebrew works, but you may need to supply that option 
when installing the formula.

Hope that helps,
-Geoff  


--
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


[Open Babel] Problems importing pybel on Mac

2018-02-13 Thread Finn Maloney
Hello, I'm an inexperienced user here and having some problems with
importing pybel. When importing pybel I get the following error:


Traceback (most recent call last):

  File "", line 1, in 

ImportError: No module named pybel

I'm on a mac running 10.13.1 and I installed openbabel using homebrew. I've
gathered from the wiki and earlier posts that eigen is important and I
currently have version 3.3.4 installed. I'm currently using Python 2.7.14
as well. Any help on how to get pybel working would be appreciated!

Thanks,
Finn
--
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