Archived
This forum has been archived. Please start a new discussion on GitHub.
Ice for Python
davidcr1983
in Help Center
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.
Thank you.
0
Comments
-
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,
- Mark0 -
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,
- Mark0
