[python-win32] embedded python can't import win32api

Mark Hammond mhammond at skippinet.com.au
Fri Sep 6 00:45:52 CEST 2013


[re-adding python-win32]

On 6/09/2013 2:30 AM, David M. Cotter wrote:
> there are no instructions i can find anywhere about how to "bundle python with my app"
> if i could find out how to do that i would.

It is literally as simply as bundling up a Python distribution, pywin32 
(and any other modules you depend on) into a directory and installing 
it.  You probably don't need to bother with any installation tasks - eg, 
nothing will need to be registered etc - it should "just work".

Mark

>
> On Sep 4, 2013, at 8:58 PM, Mark Hammond <skippy.hammond at gmail.com> wrote:
>
>> I suspect the problem is that the MS C runtime redistributables can't be found - they are probably installed by ActivePython next to the python executable, so aren't picked up by your app.  The solution is probably to put them next to your app (or better still, just bundle Python with your app, then your app and python.exe can live in the same directory - which is where those redist files can live.
>>
>> HTH,
>>
>> Mark
>



More information about the python-win32 mailing list