sory!
I solved the problem i just do
python3 setup.py build install
and then build all and install for python 3 :)
all work very very well now!
the previous error about division decimals solved and i'm very happy now :)
good work!

2010/7/24 morpheus747 <morpheus...@gmail.com>

> I have other problem but i don't understand how i perform 2 instalations of
> cx_freeze...
> if i do
> python3 setup.py build
> show me
> Traceback (most recent call last):
>   File "setup.py", line 11, in <module>
>     from cx_Freeze import setup, Executable
> ImportError: No module named cx_Freeze
>
> but if i do
> python setup.py build
>
> all work fine except for the problem my python3 script run like python 2.6
> i obtain a source for my linux a copy of 4.2
> and do
> python3 setup.py and show me this...
> ...
> ...
> adding base module named threading
> adding base module named token
> adding base module named tokenize
> adding base module named traceback
> adding base module named types
> adding base module named unittest
> adding base module named warnings
> adding base module named weakref
> usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>    or: setup.py --help [cmd1 cmd2 ...]
>    or: setup.py --help-commands
>    or: setup.py cmd --help
>
> error: no commands supplied
>
> THEN STOP!
> this not occur the first time i run it :/
>
>
> 2010/7/24 Anthony Tuininga <anthony.tuini...@gmail.com>
>
> I'm a little confused here. It looks to me like you are simply running
>> python (2.6) and python3 (3.x) and these will behave differently -- as
>> documented. Are you suggesting that when compiled they don't behave
>> the same as when run from source? I find that surprising. Perhaps you
>> don't realize that you need to have two separate installations of
>> cx_Freeze -- one for each different version. At that point, your
>> script cxfreeze will be the last one you installed. Let me suggest
>> instead that you use setup.py at which point you can run "python
>> setup.py build" and "python3 setup.py build" without having to worry
>> about which version you are using. If I'm missing something, let me
>> know.
>>
>> Anthony
>>
>> On Sat, Jul 24, 2010 at 6:21 PM, morpheus747 <morpheus...@gmail.com>
>> wrote:
>> > I have some math problems when i compile a python 3 hello world program
>> > here is my code..
>> >
>> > print("hello")
>> > a = 10
>> > b = 3
>> > c = a/b
>> > print(c)
>> >
>> > if i do python3 hello.py
>> > the result is
>> > hello
>> > 3.333333
>> >
>> > if i do
>> > python hello.py
>> > the result is
>> > hello
>> > 3
>> >
>> > i don't understand why my script in python3 is executed like a python
>> 2.6 :/
>> > for compile i use
>> > cxfreeze hello.py
>> >
>> > someone can help my to compile with py3 libs?
>> > tnx
>> >
>> ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by Sprint
>> > What will you do first with EVO, the first 4G phone?
>> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> > _______________________________________________
>> > cx-freeze-users mailing list
>> > cx-freeze-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>> >
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> cx-freeze-users mailing list
>> cx-freeze-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>>
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to