Results 1 to 3 of 3

Thread: about icepy.py

  1. #1
    code is offline Registered User
    Join Date
    Sep 2004
    Location
    P.R.China
    Posts
    26

    about icepy.py

    Dear sir:

    I only install Windows Installer for Visual Studio .NET 2003
    Ice-2.1.1-VC71.msi.

    use ice python demo

    C:\Ice-2.1.1\demopy\Ice\hello>python Server.py
    Traceback (most recent call last):
    File "Server.py", line 13, in ?
    import traceback, Ice
    File "C:\Ice-2.1.1\python\Ice.py", line 15, in ?
    import IcePy
    ImportError: No module named IcePy


    why ?

  2. #2
    beagles's Avatar
    beagles is offline Registered User
    Name: Brent Eagles
    Organization: Eagles Technologies Inc
    Project: Asterisk SCF
    Join Date
    Feb 2003
    Location
    Newfoundland
    Posts
    111
    It looks like you may have set your PYTHONPATH environment variable incorrectly. If the Ice installation directory is c:\Ice-2.1.1 then your PYTHONPATH environment variable should contain c:\Ice-2.1.1\bin and c:\Ice-2.1.1\python. For example:

    set PYTHONPATH=c:\Ice-2.1.1\bin;c:\Ice-2.1.1\python

    You can find more details on how to run the Python and other demos in the README.txt file that was installed with Ice.
    Brent Eagles
    Digium/Eagles Technologies Inc
    St. John's, NL

    Project(s): Asterisk SCF

  3. #3
    code is offline Registered User
    Join Date
    Sep 2004
    Location
    P.R.China
    Posts
    26
    it is ok Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Viewing "Print" Output Statements in Ice.py
    By afcarl in forum Help Center
    Replies: 2
    Last Post: 05-06-2010, 03:10 AM
  2. I can`t run py examples in mac-os
    By ACM in forum Help Center
    Replies: 5
    Last Post: 02-14-2006, 01:38 AM
  3. Error running allTests.py (certificate problem?)
    By PeteH in forum Help Center
    Replies: 1
    Last Post: 03-09-2005, 02:28 AM
  4. IceJ-1.5.0 allTests.py assertion error?
    By SteveWampler in forum Help Center
    Replies: 6
    Last Post: 07-27-2004, 05:15 PM
  5. allTest.py failure installing 1.3
    By brian in forum Help Center
    Replies: 1
    Last Post: 03-19-2004, 11:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •