Home Help Center

Python 2.7 support?

mathglmathgl Member gelin yanOrganization: RoundTech Research CentreProject: large scale vehicle tracing system
Hi all

I plan to use ice 3.4.1 with python 2.7 on both windows and ubuntu. Did anyone use python 2.7 & ice before? I notice the official release supports 2.6 only.

thanks.

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    Since our binary distributions are compiled against Python 2.6, they will not be compatible with Python 2.7. However, you shouldn't have any problems using Python 2.7 if you compile Ice from source. In fact, I just compiled the Python extension from Ice 3.4.2 against Python 2.7 on Windows with Visual Studio 2008SP1 and our Python test suite ran successfully.

    Regards,
    Mark
  • sdanisdani Member Sandeep DaniOrganization: SJMProject: Remote Control
    Update the release version?

    Mark you mention you have Ice working with Python 2.7. Why not build the new release and make it available for download? I am also using Python 2.7 and it crashes while importing the Ice module. Currently i do not have the option of building from source.

    Best
    Sandeep
  • gubbaragubbara Member Amol DeshmukhOrganization: HWUProject: James
    Problems with python 2.7

    Hi,
    I have windows 7, vs10, i tried to compile ice 3.4.2 with python 2.7 from source. But i get errors while importing ice in python, also got a few errors running alltests.py.

    I cannot switch to python 2.6, is there any chance that you will provide the next version of ice which works with python 2.7 soon? Thanks
    AD
    mes wrote: »
    Hi,

    Since our binary distributions are compiled against Python 2.6, they will not be compatible with Python 2.7. However, you shouldn't have any problems using Python 2.7 if you compile Ice from source. In fact, I just compiled the Python extension from Ice 3.4.2 against Python 2.7 on Windows with Visual Studio 2008SP1 and our Python test suite ran successfully.

    Regards,
    Mark
  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    What errors are you getting when importing?

    Mark
Sign In or Register to comment.