[osgeo4w-dev] [osgeo4w] #392: sys.exec_prefix does not point to folder with pythonw.exe thus introducing inconsistency, e.g. with multiprocessing in QGIS plugins
OSGeo4W
trac_osgeo4w at osgeo.org
Tue Nov 12 10:47:45 PST 2013
#392: sys.exec_prefix does not point to folder with pythonw.exe thus introducing
inconsistency,e.g. with multiprocessing in QGIS plugins
-------------------+--------------------------------------------------------
Reporter: mlt | Owner: osgeo4w-dev@…
Type: defect | Status: closed
Priority: major | Component: Installer
Version: | Resolution: invalid
Keywords: python |
-------------------+--------------------------------------------------------
Comment(by mlt):
Replying to [comment:3 jef]:
> Or
{{{multiprocessing.set_executable(distutils.spawn.find_executable("pythonw.exe"))}}}
I wonder if there is a danger to pick up wrong python this way as there
are common scenarios to have a few python installations and non-OSGeo4W
may be on the PATH.
--
Ticket URL: <http://trac.osgeo.org/osgeo4w/ticket/392#comment:4>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list