Hi Ilenia,
The error message indicates that it has found the Open Babel 64-bit dlls
instead of the 32-bit ones. Basically, if you install both the 32-bit and
64-bit GUIs, then the one at the front of the Windows PATH wins.
So, step one is to make sure that the 32-bit GUI and a 32-bit Python are
installed. Then, at the command-line:
C:\> set PATH=C:\Program Files (x86)\OpenBabel-2.4.1;%PATH%
C:\> python (or whatever the command is to run the 32-bit python)
If you want to then use the 64-bit one:
C:\> set PATH=C:\Program Files\OpenBabel-2.4.1;%PATH%
C:\> python64 (or whatever the command is to run the 64-bit python)
Also useful, is echo %PATH% to see what is going on by default.
Hope this helps,
Regards,
- Noel
On 20 February 2017 at 15:58, Ilenia Giangreco <giangr...@ccdc.cam.ac.uk>
wrote:
> Hello!
>
>
>
> I’m writing because I’m having some issues installing the python bindings
> for Openbabel on Windows (python 32 bit).
>
> I followed the instructions on this website
> <https://pypi.python.org/pypi/openbabel> but I get the following error.
>
>
>
> It’s worth mentioning that it works on python 64bit …
>
>
>
> Any help would be greatly appreciated.
>
>
>
> Many thanks,
>
> Ilenia
>
>
>
> LEGAL NOTICE Unless expressly stated otherwise, information contained in
> this message is confidential. If this message is not intended for you,
> please inform postmas...@ccdc.cam.ac.uk and delete the message. The
> Cambridge Crystallographic Data Centre is a company Limited by Guarantee
> and a Registered Charity. Registered in England No. 2155347 Registered
> Charity No. 800579 Registered office 12 Union Road, Cambridge CB2 1EZ.
>
> ------------------------------------------------------------
> ------------------
> 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