Loading ...
Sorry, an error occurred while loading the content.

59579Re: [patch] Py_SetPythonHome for python3 to make import work

Expand Messages
  • James Vega
    Nov 7, 2010
      On Sun, Nov 07, 2010 at 01:53:05PM -0500, James Vega wrote:
      > On Sun, Nov 07, 2010 at 06:04:35PM +0200, Roland Puntaier wrote:
      > > The attached patch calls Py_SetPythonHome with PYTHON3_PREFIX
      > > defined by configure.
      > > This solves the problem.
      > This does make sense for supporting people who have installed Python
      > outside of the standard paths, though. This should probably be done for
      > Python2.x as well.

      Would it make more sense to use Py_GetPrefix() or Py_GetExecPrefix() as the
      input to Py_SetPythonHome() instead?

      GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan@...>
    • Show all 16 messages in this topic