Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-14 Thread David Hall
Not sure what you mean by “python was disabled”, if you cannot run python on a mac, there is probably some major issue. As described in the python documentation, OS X comes with python installed already ( https://docs.python.org/2/using/mac.html ). Y

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-13 Thread Yujie Tian
Hey, I am so sorry I asked such an unprofessional question. But I just started to learn about computational chemistry from this month and I don’t have any programming background before. Hope you can understand. I tried your suggestion and the output is like the following: dhcp037-051-095:openb

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-13 Thread Geoffrey Hutchison
> Hey, I add the path correctly, but it turns out to be an error. As I commented multiple times on the list, this error indicates you're compiling and linking against different versions of Python. In your case, I can guarantee that "otool -L /usr/local/Download/openbabel/lib/python2.7/site-pack

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-13 Thread Yujie Tian
Hey, I add the path correctly, but it turns out to be an error. Output like the following: dhcp037-051-095:openbabel YujieTian$ export PYTHONPATH=/usr/local/Download/openbabel/lib/python2.7/site-packages:$PYTHONPATH dhcp037-051-095:openbabel YujieTian$ python Python 2.7.9 (v2.7.9:648dcafa7e5f, D

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-13 Thread Noel O'Boyle
Sounds like it did work. After you do "make install", just add the location of wherever pybel.py was installed to your PYTHONPATH and away you go. - Noel On 13 March 2015 at 18:56, David Hall wrote: > What version of CMake are you using? > > -David --

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-13 Thread David Hall
What version of CMake are you using? -David -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-13 Thread Yujie Tian
Hi, I installed SWIG but it still doesn’t work. I feel sorry about it but I have to come and ask for help again. Here is this output: Using included inchi library. checking for module 'cairo' package 'cairo' not found Cairo found. PNG output will be supported. GUI will not be built CMake Warning

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-13 Thread Geoffrey Hutchison
> Sorry, I forget to cc this mail to the list. >> Warning: Python bindings NOT found. Generate using -DRUN_SWIG. >> Configuring done >> Generating done This is the key piece. You don't have pybel because you're not building the Python bindings. https://open-babel.readthedocs.org/en/latest/Insta

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-13 Thread Yujie Tian
Sorry, I forget to cc this mail to the list. Thanks! Yujie On Mar 12, 2015, at 10:08 PM, Yujie Tian wrote: > No, it’s for 2.3.1. And you advised me to install a recent version. So I > tried 2.3.90 after that. > > Here is the output. > > Using included inchi library. > checking for module 'ca

Re: [OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-12 Thread Noel O'Boyle
What was the output of running CMake (the log on github #131 is not for 2.3.90)? - Noel On 12 March 2015 at 18:37, Yujie Tian wrote: > Hi everyone, > > I installed open babel 2.3.90, but I still can't import pybel. (You can check > my log on github #131.) > I followed Geoff’s advice and I used

[OpenBabel-Devel] I installed open babel 2.3.90, but I still can't import pybel

2015-03-12 Thread Yujie Tian
Hi everyone, I installed open babel 2.3.90, but I still can't import pybel. (You can check my log on github #131.) I followed Geoff’s advice and I used git clone he gave me. But it didn’t work. Any idea? Thanks a lot Yujie -