Archived

This forum has been archived. Please start a new discussion on GitHub.

Ice for Python

Hello! I am new in Ice and I have installed Ice for Python. The problem is that I don't know what to do to the Python Interpreter locates the Ice extension for Python.

Thank you.

Comments

  • mes
    mes California
    Hi,

    You didn't mention which platform you are using, but you can find instructions for setting your PYTHONPATH environment variable in the INSTALL file (for a source distribution), the README file (for a Unix binary distribution), or the README.txt file (for a Windows installation).

    Take care,
    - Mark
  • Thank you for helping me. I installed the .deb version of ICE for python and I do not know how to configure the PYTHONPATH correctly to use ICE with python. Can you help me again?

    Thank you very much!
  • mes
    mes California
    I'm not familiar with the directory layout of that package, but your PYTHONPATH needs to include the directory containing the IcePy.so file, and the directory containing the Ice.py file. For example, if IcePy.so is installed in /opt/IcePy/lib and Ice.py resides in /opt/IcePy/python, then your PYTHONPATH should be set as follows:

    PYTHONPATH=/opt/IcePy/python:/opt/IcePy/lib:$PYTHONPATH

    Take care,
    - Mark