Thanks Ken.

Now I am able to run it sometimes. I tried attaching windbg and saw abor 
exception for  "cygrpc!initcygrpc+". So initcygrpc is failing for some 
reason.

On Friday, 17 November 2017 12:22:52 UTC-8, Ken Payson wrote:
>
> This question might be better suited for a py2exe mailing list.
>
> I'm not sure if py2exe supports binary python packages.  If it does (in a 
> cross-compatible way), I would expect it to need to package multiple pip 
> packages in the resulting exe.
>
>
>
> On Fri, Nov 17, 2017 at 12:15 PM, <falu...@gmail.com <javascript:>> wrote:
>
>> It should not matter. Sorry my machine also has 32 bit python (Windows 64 
>> bit). 
>>
>> py2exe freezes python scripts.
>> "py2exe turns Python programs into packages that can be run on other 
>> Windows computers without needing to install Python on those computers. 
>> Python is needed on the computer where py2exe itself is run because py2exe 
>> is a Python program and it includes parts of Python in the package that is 
>> built."
>>
>>  Ideally I don't need python on machine where I am running CLI.
>>
>> The funny thing is if I enable debug mode on  my CLI which uses the 
>> module I don't see runtime error.
>>
>> On Friday, 17 November 2017 11:55:31 UTC-8, Ken Payson wrote:
>>>
>>> Pip will choose a binary package from PyPI that matches your Python 
>>> version/architecture.  If you attempt to redistribute that package, it may 
>>> not match the client's Python version/architecture. 
>>>
>>> On Fri, Nov 17, 2017 at 11:51 AM, <falu...@gmail.com> wrote:
>>>
>>>> I am not building from source. I am using pip to install grpcio on that 
>>>> machine.
>>>>
>>>> http://www.py2exe.org/index.cgi/Tutorial
>>>>
>>>>
>>>>
>>>> On Friday, 17 November 2017 11:39:14 UTC-8, Ken Payson wrote:
>>>>>
>>>>> I'm not familiar with py2exe, but we release separate binary packages 
>>>>> for Windows 32 and 64 bit Python.
>>>>>
>>>>> If you are trying to build from source and distribute the binary 
>>>>> package, I would expect some compatibility issues. 
>>>>>
>>>>> On Fri, Nov 17, 2017 at 11:29 AM, <falu...@gmail.com> wrote:
>>>>>
>>>>>> Hi there,
>>>>>>
>>>>>> Is it possible to package grpcio with py2exe?
>>>>>>
>>>>>> I tried packing up grpcio on windows 7 32 bit using py2exe with 
>>>>>> python 2.7.11. Py2exe is able to detect dependencies but it does not 
>>>>>> package beta folder inside grpc module.
>>>>>>
>>>>>> When I try to run that the generated .exe from py2exe on my windows 7 
>>>>>> machine which has 32-bit python version 2.7.13 I get run time error. But 
>>>>>> when I try to replace grpc package compiled on my machine and try to run 
>>>>>> the generated .exe from py2exe it works fine.
>>>>>>
>>>>>> My question is does grpcio has to be compiled on machine where you 
>>>>>> want to run it?
>>>>>>
>>>>>> Cheers,
>>>>>> Falguni
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "grpc.io" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to grpc-io+u...@googlegroups.com.
>>>>>> To post to this group, send email to grp...@googlegroups.com.
>>>>>> Visit this group at https://groups.google.com/group/grpc-io.
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/grpc-io/b502a67c-96c7-44d3-b526-36e516734102%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/grpc-io/b502a67c-96c7-44d3-b526-36e516734102%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "grpc.io" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to grpc-io+u...@googlegroups.com.
>>>> To post to this group, send email to grp...@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/grpc-io.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/grpc-io/42357e8c-b09c-4004-bd33-a0a8ea9a2051%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/grpc-io/42357e8c-b09c-4004-bd33-a0a8ea9a2051%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to grpc-io+u...@googlegroups.com <javascript:>.
>> To post to this group, send email to grp...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/grpc-io.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/6842c215-3282-4562-8711-eaeff00a1089%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/6842c215-3282-4562-8711-eaeff00a1089%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/9e101618-7616-4cd8-bb03-77a3ed422486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to