Here is the simple code I used to test both 2.7 and 3.4 that resulted in
this error for 3.4 only:
import math
sqrt = math.sqrt
x = int(input('enter the number here:'))
y = sqrt(x)
print (y)
input("press enter to exit")
Also, I tried this on two Windows 64-bit machines (one is Home edition and
the other is Enterprise), the 32-bit Python distribution using the 32-bit
cx_Freeze distribution.
On Fri, Nov 15, 2013 at 1:10 PM, Anthony Tuininga <
anthony.tuini...@gmail.com> wrote:
> Can you try freezing the "simple" sample in the cx_Freeze distribution? I
> did that on Windows with Python 3.4 and it worked for me. I'd like to know
> if it is something specific to your application or to your machine.
>
> Anthony
>
>
> On Fri, Nov 15, 2013 at 11:08 AM, Rdt Wrkacct <rdtwrka...@gmail.com>wrote:
>
>> Yes: http://i.imgur.com/4KJMmqU.png
>> Also, I've tried to use the options to have these libraries included in
>> the executable rather than a zip, which was effective in eliminating the
>> zip file and increasing the size of the executable, but not in solving the
>> problem unfortunately.
>>
>>
>>
>>
>> On Fri, Nov 15, 2013 at 12:33 PM, Thomas Kluyver <tak...@gmail.com>wrote:
>>
>>> On 15 November 2013 07:43, Rdt Wrkacct <rdtwrka...@gmail.com> wrote:
>>>
>>>> I'm working on a project that requires Python 3.4 (which is the only
>>>> version that currently has a hashlib that implements SHA-3). I downloaded
>>>> the corresponding cx_Freeze binary and tried to build an exe, which did not
>>>> work properly.
>>>
>>>
>>> It's probably a bug with cx_Freeze on Python 3.4 - I doubt many people
>>> have tested that yet. Can you delve into it? For starters, does the zip
>>> file it's trying to load from (probably library.zip with the default
>>> settings) have a cx_Freeze__init__ module inside it?
>>>
>>> Thomas
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
>>> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
>>> Free app hosting. Or install the open source package on any LAMP server.
>>> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> cx-freeze-users mailing list
>>> cx-freeze-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
>> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
>> Free app hosting. Or install the open source package on any LAMP server.
>> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> cx-freeze-users mailing list
>> cx-freeze-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>
>
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users