[python-win32] d:\python25\lib\site-packages\pytz\__init__.py:29: UserWarning: Module pythoncom was already imported from C:\WINDOWS\system32\pythoncom25.dll, but d:\python25\lib\site-packages\pywin32-210-py2.5-win32.egg is being added to sys.path

Mark Hammond skippy.hammond at gmail.com
Tue Mar 31 15:40:22 CEST 2009


On 31/03/2009 12:24 AM, jo wrote:
> What is the best way to solve this conflict ?
>
> from pylab import *
> d:\python25\lib\site-packages\pytz\__init__.py:29: UserWarning: Module pywintypes was already imported from C:\WINDOWS\system32\pywintypes25.dll, but d:\python25\lib\site-packages\pywin32-210-py2.5-win32.egg is being added to sys.path
>    from pkg_resources import resource_stream
> d:\python25\lib\site-packages\pytz\__init__.py:29: UserWarning: Module pythoncom was already imported from C:\WINDOWS\system32\pythoncom25.dll, but d:\python25\lib\site-packages\pywin32-210-py2.5-win32.egg is being added to sys.path
>    from pkg_resources import resource_stream

Probably to remove the .egg install of pywin32-210 (check 
easy-install.pth for references to that .egg too) and stick with the 
.exe installers from sourceforge (.egg installers for pywin32 aren't 
'official' (ie, released by me) yet...)

Cheers,

Mark.


More information about the python-win32 mailing list