Archived
This forum has been archived. Please start a new discussion on GitHub.
about icepy.py
in Help Center
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 ?
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 ?
0
Comments
-
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.0 -
it is ok Thanks0