[egenix-users] py2exe and mx.DateTime issue

George Serdaris gserdaris at optusnet.com.au
Wed Nov 17 12:00:17 CET 2004


Hi all,

 

I am getting the following error message when trying to build an exe using
py2exe:

The following modules appear to be missing

['mxDateTime.__version__']

 

An executable is created, but I'm unable to connect to the Oracle database.
Connection to oracle was possible using cx_Oracle.

 

Location to the mxDateTime appears to be found as I get the following
appearing in the shell:

 

*** byte compile python files ***

creating C:\data\Python\build\bdist.win32\winexe\collect\mx

creating C:\data\Python\build\bdist.win32\winexe\collect\mx\DateTime

creating
C:\data\Python\build\bdist.win32\winexe\collect\mx\DateTime\mxDateTime

creating C:\data\Python\build\bdist.win32\winexe\collect\mx\Misc

.

copying C:\Python23\lib\site-packages\mx\DateTime\mxDateTime\mxDateTime.pyd
-> C:\data\Python\dist

 

I have followed instructions on freezing mx.DateTime to the py2exe command
line i.e. "-i mx.DateTime" with no luck.

 

I have also tried forcing the path to mx.DateTime into the sys.path to no
avail.

 

I have experimented with -p option as well i.e. "-p mx.DateTime", but this
produces another error message:

                              The following modules appear to be missing

['mxDateTime.__version__', 'mx.DateTime.now']

 

Environment/packages used are as follows:

OS is WinXP SP2

Python Version is 2.3.4

mx-base v2.0.5

cx_Oracle v4.0.1

wx Python v2.5.2.8

 

Any assistance on this issue would be greatly appreciated.

 

Cheers,

 

George Serdaris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman-archives/egenix-users/attachments/20041117/d476a09e/attachment.htm


More information about the egenix-users mailing list