Differences between revisions 2 and 7 (spanning 5 versions)
Revision 2 as of 2006-08-07 03:15:04
Size: 3488
Revision 7 as of 2007-07-13 19:32:56
Size: 3749
Comment: join 2 PIL sections in one
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 5: Line 4:
Line 9: Line 7:
Line 14: Line 11:
Line 17: Line 13:
Line 20: Line 15:
Line 24: Line 18:
== os.popen ==
 * ["os.popen"] If you're getting failures when the CWD is a UNC path like {{{\\host\dirname\...}}}
Line 27: Line 22:
 * ["PIL and Fontfiles"] If you're getting ''Cannot find font file'', read this
Line 30: Line 25:
Line 32: Line 26:
 * Py2exeAndPyQt If you're getting `File "qt.pyc", line 7, in __load Import Error: No module named sip`, read this
 * Py2exeAndPyQt If you're getting {{{File "qt.pyc", line 7, in __load Import Error: No module named sip}}}, read this
Line 36: Line 29:
Line 39: Line 31:
Line 42: Line 33:
Line 45: Line 35:
Line 53: Line 42:
Line 56: Line 44:
Line 59: Line 46:
Line 62: Line 48:
Line 67: Line 52:
 * UsingEnsureDispatch Use a prog_id and generate 'typelibs' at runtime
Line 70: Line 55:
Line 73: Line 57:

Working with Various Packages and Modules




logging module

  • LoggingModule - Getting the %(filename)s format string working in the python logging module.


  • MatPlotLib - Fixing and including configuration information for this plotting package.


  • If you're getting No scipy-style subpackage 'xxx' found in c:\...\library.zip\numpy. Ignoring, try --skip-archive option.

  • If you're using numarray and numpy together, be aware that they both have a _sort, and py2exe gets them confused. After py2exe creates the dist directotry, copy numpy/core/_sort.pyd and numarray/sort.pyd to their respective locations in the dist.


  • ["os.popen"] If you're getting failures when the CWD is a UNC path like \\host\dirname\...


  • ["PIL and py2exe"] If you're getting cannot identify image file, read this

  • ["PIL and Fontfiles"] If you're getting Cannot find font file, read this


  • ["Py2exeAndPyGTK"] A recipe for py2exe and PyGTK


  • Py2exeAndPyQt If you're getting File "qt.pyc", line 7, in __load Import Error: No module named sip, read this

Python Eggs

  • ExeWithEggs - A recipe for creating an .exe out of eggs


Python ADODB modules

  • ADODB package Modules named adodb_xxx (like adodb_mysql) are not added automatically, must be added explicitly


  • ["Py2exeAndPyXML"] If you're getting File "xml\sax\saxexts.pyc", line 77, in make_parser; xml.sax._exceptions.SAXReaderNotAvailable: No parsers found, read this.


Quixote is a pythonivc toolkit for web pages which allows one to execute ptl files using ihooks. You can distribute your web application with medusa or twisted and hence you can create a web application without IIS or Apache.

I like to distribute my application with py2exe but I can not make py2exe setup script to recognize that x.ptl is a valid python files. Any idea how to do this? - impossible: ["Quixote & py2exe"] HAM20040602


  • ["PIL and reportlab"] If you've read ["PIL and py2exe"] and still get cannot identify image file, read this


  • ScipyImportProblems Using py2exe with scipy ends up with missing cephes and __cvs_version__ messages. Here is a fix.



  • TixSetup - Including the Tix DLL and Tcl files to make Tix apps work.





WorkingWithVariousPackagesAndModules (last edited 2012-06-25 15:49:01 by LeeKamentsky)