Thank you sir. I used “import pybel”. I did not realize the difference in
“from pybel import*”. I’m learning how to use python now.
Looks like all is working.
Dan
> On Jul 8, 2016, at 10:55 AM, David Hall wrote:
>
> The below is dependent on how you import pybel
>
Yes. Thank you.
> On Jul 8, 2016, at 10:33 AM, Noel O'Boyle wrote:
>
> Your INCLUDE_DIR has a ~. This means your home directory.
>
> On 8 July 2016 at 16:14, Dan Smith wrote:
>> Leonardo, thanks for the suggestion.
>>
>> I tried the
The below is dependent on how you import pybel
you did "import pybel", which imports the pybel functions with a "pybel."
prefix as shown in your efforts to run things.
Some of the examples in the documentation implicitly do "from pybel import *"
so the functions are imported without a prefix.
Your INCLUDE_DIR has a ~. This means your home directory.
On 8 July 2016 at 16:14, Dan Smith wrote:
> Leonardo, thanks for the suggestion.
>
> I tried the DPYTHON_INCLUDE_DIR option shown below.
>
> cmake ../openbabel -DPYTHON_BINDINGS=ON -DRUN_SWIG=ON
>