Take a look at pybel.py. The location is given by "print
pybel.__file__" after importing it. Does it have readstring? Our one
does.

On 18 March 2017 at 19:02, Terry Lyons <tly...@lyonstech.net> wrote:
> Yes, I did
>
> python -m pip install openbabel
>
> I guess that is why I was able to import openbabel into Python.
>
> Does the install order matter?
>
> On 18 Mar 2017, at 15:17, Noel O'Boyle <baoille...@gmail.com> wrote:
>
> Did you try my suggestion?
>
> On 18 Mar 2017 3:06 p.m., "tly...@lyonstech.net" <tly...@lyonstech.net>
> wrote:
>>
>> Hi Guys,
>>
>> We have basically the same challenge - which is not answered by the
>> initial
>> response from Frederick.
>>
>> As you will note from the error message in the subsequent email, readfile
>> and readstring are reported as not being members of pybel. So using
>> pybell.readfile does not work. From your email Frederick, you clearly
>> think
>> is would normally be a member. So there seems an issue in picking up the
>> information.
>>
>> At my end we have tried numerous approaches to try and resolve this. The
>> openbabel gui works, openbabel, and pybel import happily but, wherever one
>> looks one cannot find readfile or readstring.
>>
>> Unfortunately this is a showstopper so any pointers as to how to fix it
>> would be much appreciated. We have the most up to date versions of pip,
>> setuptools, wheel, etc.
>>
>> Thanks
>>
>> Terry
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://forums.openbabel.org/Cannot-use-readstring-or-readfile-tp4659795p4659829.html
>> Sent from the General discussion mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> 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

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

Reply via email to