[PyQt] Hardcoded Eric path in PyQT makes exec fail

anatoly techtonik techtonik at gmail.com
Wed Apr 9 09:55:19 BST 2008


Eric path in PyQt-Py2.5-gpl-4.3.3-2.exe installator is hardcoded to be in
C:\Python25\ but this not always true. The things are made worse by the fact
that no error message is displayed when Eric's .bat files are executed through

The easiest fix is to replace C:\Python25\ with %dp~0 batch variable, which
stands for "drive letter and path where batch file lies".

Alternative variant is post-processing search and replace script in Python.


More information about the PyQt mailing list