Installation issue on python 32bit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Installation issue on python 32bit

Ilenia Giangreco

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 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 [hidden email] 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installation issue on python 32bit

Noel O'Boyle
Administrator
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 <[hidden email]> 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 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 [hidden email] 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Installation issue on python 32bit

Ilenia Giangreco

Thanks Noel. I had an old installation of the 64-bit GUI.

 

Ilenia

 

From: Noel O'Boyle [mailto:[hidden email]]
Sent: 21 February 2017 13:10
To: Ilenia Giangreco <[hidden email]>
Cc: [hidden email]
Subject: Re: [Open Babel] Installation issue on python 32bit

 

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 <[hidden email]> 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 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 [hidden email] 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
Loading...