Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-27-2005
davidcr1983 davidcr1983 is offline
Registered User
 
Name: David Vallejo Fernández
Organization: Universidad de Castilla-La Mancha
Project: basic-fipa-multiagentsystem
 
Join Date: Jul 2005
Location: Ciudad Real (Spain)
Posts: 41
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.
Reply With Quote
  #2 (permalink)  
Old 07-27-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
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
Reply With Quote
  #3 (permalink)  
Old 07-27-2005
davidcr1983 davidcr1983 is offline
Registered User
 
Name: David Vallejo Fernández
Organization: Universidad de Castilla-La Mancha
Project: basic-fipa-multiagentsystem
 
Join Date: Jul 2005
Location: Ciudad Real (Spain)
Posts: 41
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!
Reply With Quote
  #4 (permalink)  
Old 07-27-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Python BiT Help Center 1 09-19-2006 06:21 PM
IceBox and Python rspivak Help Center 2 04-11-2006 01:55 PM
pb with python example arnaud Help Center 13 03-06-2006 03:36 AM
IceBox in Python cris78 Help Center 3 09-08-2005 10:54 AM
about python and icestorm code Help Center 2 12-06-2004 12:08 PM


All times are GMT -4. The time now is 11:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.