Archived
This forum has been archived. Please start a new discussion on GitHub.
Setting up Ice to use Python 3.3.2 in CentOS
Hi,
I am currently trying to configure Ice 3.5.1, in CentOS 6.4 x86_64
I have an altinstall "/usr/local/bin" using this method:-
How to install Python 2.7 and 3.3 on CentOS 6 | Too Much Data
I can create virtualenv in python and activate it.
My issue is that I cannot get the Ice install to install to the python3.3 system, it always defaults to the 2.6 version. I am happy to install to the base 3.3 or a virtualenv to make upgrades easier later.
I am new to Linux and Ice so if anyone has a procedure to install Ice for python 3.3.2 on CentOS I would be grateful for a pointer.
I am happy to edit and compile source if required.
Thanks in advance
JSN
I am currently trying to configure Ice 3.5.1, in CentOS 6.4 x86_64
I have an altinstall "/usr/local/bin" using this method:-
How to install Python 2.7 and 3.3 on CentOS 6 | Too Much Data
I can create virtualenv in python and activate it.
My issue is that I cannot get the Ice install to install to the python3.3 system, it always defaults to the 2.6 version. I am happy to install to the base 3.3 or a virtualenv to make upgrades easier later.
I am new to Linux and Ice so if anyone has a procedure to install Ice for python 3.3.2 on CentOS I would be grateful for a pointer.
I am happy to edit and compile source if required.
Thanks in advance
JSN
0
Comments
-
Hi,
We provide instructions to build Ice for Python see Building Ice for Python - Ice 3.5 - ZeroC
Have you tested to set PYTHON_VERSION=python3.3?export PYTHON_VERSION=python3.3 make
0 -
Hi xdm
Thank you for the reply,
I am still struggling to get to grips with this,
The version supplied via the repositories is:-
ice-python.x86_64 3.5.1-1.el6 @zeroc-ice
ice-python-devel.x86_64 3.5.1-1.el6 @zeroc-ice
is python 2.6.6?
Is there any benefit to compiling to python 3.3 in terms of functionality?
If not then the effort involved may not be worth the investment in time.
I think I was confused by the page zeroc.com/download page Where is stated 3.3 was a requirement.. after re reading this I think this requirement is for Windows and not Linux. Is this interpretation correct?
Regards
JSN Consultancy0 -
The RPMs for rhel6 are build with python 2.6, as you noticed 3.3 is only the required for Windows binary distribution. You will have the same Ice features with both python versions.0
-
Thanks xdm,
A large head ache went away0