Re: Py_SetProgramName() and prefixes

2014-08-28 Thread Chris Angelico
On Thu, Aug 28, 2014 at 10:42 PM, Marko Havu wrote: > Thanks for your kind help, Glad you got what you needed! I read your original post and had no idea what the issue was, so I skipped passed it and dealt with other posts instead. But sometimes the mere act of posting the question gives you what

Re: Py_SetProgramName() and prefixes

2014-08-28 Thread Marko Havu
Marko Havu kirjoitti 28.8.2014 kello 12.58: > I have a problem with Py_Initialize() not being able to find python in the > path. Unless I use Py_SetProgramName() with the full path of the python > interpreter, I get the following error message: > Could not find platform independent libraries >

Re: Py_SetProgramName() and prefixes

2014-08-28 Thread Marko Havu
I wrote earlier: > While doing some testing, I stumbled across some weird behavior on Python 3.3 > and 3.4: Py_GetPrefix(), Py_GetPath() and other functions that return paths > that are supposed to be set by Py_SetProgramName() all return just ”/”: > > main.c >

Py_SetProgramName() and prefixes

2014-08-28 Thread Marko Havu
Hi, I have a problem with Py_Initialize() not being able to find python in the path. Unless I use Py_SetProgramName() with the full path of the python interpreter, I get the following error message: Could not find platform independent libraries Could not find platform dependent libraries Consi