Pat Le Cat added the comment:
When working with the separately installed version of Python 3.4.1, which means
by not using Py_SetPath() the embedding examples from your webpage work okay.
So what's wrong with that function and why that allegedly missing module
"encoding" tha
Pat Le Cat added the comment:
I zipped the whole Lib directory into "pyLib34.zip" (into same dir as EXE) and
copied all the .pyd files from the DLLs dir into the same dir as the EXE.
--
___
Python tracker
<http://bugs.python.o
Pat Le Cat added the comment:
Cheesas you are really making it hard by design to report things to Python.
Maybe a bit more common sense could help the project, or should I file a new
bug-report for that too? :-/
--
resolution: works for me -> rejec
Pat Le Cat added the comment:
Well?
--
resolution: works for me ->
status: closed -> open
___
Python tracker
<http://bugs.python.org/issue21799>
___
___
Pat Le Cat added the comment:
Ah it installs it in Windows/Sytem32 okay I had no clue, another undocumented
behavior :)
Still it is missing in the DLLs folder. And you haven't explained the warning
under MSVC. And the documentation should be enhanced as I suggested to be more
Pat Le Cat added the comment:
Crash Error Window (pic)
--
Added file: http://bugs.python.org/file35725/snakes_bug.jpg
___
Python tracker
<http://bugs.python.org/issue21
New submission from Pat Le Cat:
When I comment out the Py_SetPath() function call (Line 56), then the code runs
up to the 4th test print and then crashes again, possibly at:
"Py_XDECREF(pArgs)" else it crashes at Py_Initalize. The same behavior can be
observed under Python 3.4.0 and
Pat Le Cat added the comment:
Plus the MSVC-2013 compiler warning noted earlier of course:
>>Warning:
1>c:\python34\include\pymath.h(22): warning C4273: 'round' : inconsistent dll
linkage
1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(516) :
see
Pat Le Cat added the comment:
Yes I'm sorry, this evolved as I investigated further. So the initial case has
become this:
Bug:
Python 3.4 Windows installation contains python34.dll but does not install it.
Both: python-3.4.1.amd64.msi and python-3.4.0.amd64.msi (maybe the 32bi
Pat Le Cat added the comment:
Update on mingw: When I comment out the Py_SetPath() function call, then the
code runs up to the 4th test print and then crashes again, possibly at:
"Py_XDECREF(pArgs)". So apart from the 'encoding' module that cannot be found
there is still
Pat Le Cat added the comment:
**Missing Python34.dll in installation**
Okay it's getting more interesting. I downloaded Python 3.4 windows x64 binary
and extracted the DLLs and suddenly I discovered that release 3.4.1 is missing
the Python34.dll !! :-O
Once I link against the python3
Pat Le Cat added the comment:
Okay I tried the exact same example code from your website on the MSVC-2013
(same OS) suite and got new errors with it and a strange warning.
>>Warning:
1>c:\python34\include\pymath.h(22): warning C4273: 'round' : inconsistent dll
linkage
1>
New submission from Pat Le Cat:
I use Python 3.4.1 x64 (binaries downloaded) under Windows 8.1 with mingw64
(GCC 4.9 using C++). All the other functions work fine.
Excerpt:
Py_SetPath(L"python34.zip");
wchar_t* pyPath = Py_GetPath();
Py_Initialize();
--
compone
13 matches
Mail list logo