Mcmillen Installer Question
Anthony_Barker
anthony_barker at hotmail.com
Mon Feb 9 19:40:44 EST 2004
The errrors most likely are because you are loading unix specific services.
Check out
http://www.python.org/doc/current/lib/unix.html
You probably only want to import them in the windows platform
if sys.platform[:3] == "win":
#import windows modules
else:
#import unix modules
The installer is probably working fine.
Anthony, Toronto
> I have inherited a python application, I work on UNIX and then have to
> use Installed to produce a Windows version. All is OK with this except
> when executing and the following error messages are displayed.
>
> Can anyone advise how I can correct them or even just hide them.
>
> D:\CCPS\Release-2.1-20040203\Client\Build\Windows\bin>ccps2_install.exe
>
> D:\CCPS\Release-2.1-20040203\Client\Build\Windows\buildccps2_install\out1.pyz/fcntl:7:
> DeprecationWarning: the FCNTL module is deprecated; please use fcntl
> D:\CCPS\Release-2.1-20040203\Client\Build\Windows\buildccps2_install\out1.pyz/termios:7:
> DeprecationWarning: the TERMIOS module is deprecated; please use
> termios
> c:\python-2.3.2\Installer\iu.py:103: DeprecationWarning: the regex
> module is deprecated; please use the re module
> mod = imp.load_module(nm, None, nm, ('','',imp.C_BUILTIN))
>
> CCPS INSTALL STARTING...
>
> The CCPS_DATA_PATH is not defined !!!
>
>
> Regards,
> Andy Wilson
> andywil at nortelnetworks.com
More information about the Python-list
mailing list