469,955 Members | 1,442 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,955 developers. It's quick & easy.

An Attempt to download and install traits - to a Windows XP

Using >easy_install -v -f
http://code.enthought.com/enstaller/eggs/source
enthought.traits

The result is:

....
many lines
....

copying
enthought\traits\ui\tests\shell_editor_test.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copying
enthought\traits\ui\tests\table_editor_color_test. py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copying
enthought\traits\ui\tests\table_editor_focus_bug.p y
->
build\lib.win32-2.5\enthought\traits\ui\tests
copying
enthought\traits\ui\tests\table_editor_test.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copying
enthought\traits\ui\tests\table_editor_test2.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copying
enthought\traits\ui\tests\table_list_editor_test.p y
->
build\lib.win32-2.5\enthought\traits\ui\tests
copying
enthought\traits\ui\tests\tree_editor_test.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
running build_ext
error: Setup script exited with error:
Python was built with Visual Studio 2003;
extensions must be built with a compiler
than can generate compatible binaries.
Visual Studio 2003 was not found on this
system. If you have Cygwin installed,
you can try compiling with MingW32, by
passing "-c mingw32" to setup.py.

C:\Documents and Settings\cjw\Desktop>python
Python 2.5.2 (r252:60911, Feb 21 2008,
13:11:45) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or
"license" for more information.
>>>
I would welcome any guidance.

Colin W.
Jul 25 '08 #1
2 3261
On Jul 25, 5:37*pm, "Colin J. Williams" <c...@ncf.cawrote:
Using >easy_install -v -fhttp://code.enthought.com/enstaller/eggs/sourceenthought.traits

The result is:

...
* *many lines
...

copyingenthought\traits\ui\tests\shell_editor_test .py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_editor_colo r_test.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_editor_focu s_bug.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_editor_test .py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_editor_test 2.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_list_editor _test.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\tree_editor_test. py
->
build\lib.win32-2.5\enthought\traits\ui\tests
running build_ext
error: Setup script exited with error:
Python was built with Visual Studio 2003;
extensions must be built with a compiler
than can generate compatible binaries.
Visual Studio 2003 was not found on this
system. If you have Cygwin installed,
you can try compiling with MingW32, by
passing "-c mingw32" to setup.py.
Traits includes an extension module. You will need a suitable
compiler.

http://www.develer.com/oss/GccWinBinaries

To tell distutils to use this compiler for all extension modules,
create pydistutils.cfg file with the following contents:

[build_ext]
compiler=mingw32

See this page for details about this file:

http://docs.python.org/inst/config-syntax.html

You will get the most help about Traits and the rest of the Enthought
Tool Suite on the enthought-dev mailing list.

https://mail.enthought.com/mailman/l.../enthought-dev

--
Robert Kern
Jul 26 '08 #2
Robert,

Many thanks, this has put me on track.

Colin W.

Robert Kern wrote:
On Jul 25, 5:37 pm, "Colin J. Williams" <c...@ncf.cawrote:
>Using >easy_install -v -fhttp://code.enthought.com/enstaller/eggs/sourceenthought.traits

The result is:

...
many lines
...

copyingenthought\traits\ui\tests\shell_editor_tes t.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_editor_col or_test.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_editor_foc us_bug.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_editor_tes t.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_editor_tes t2.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\table_list_edito r_test.py
->
build\lib.win32-2.5\enthought\traits\ui\tests
copyingenthought\traits\ui\tests\tree_editor_test .py
->
build\lib.win32-2.5\enthought\traits\ui\tests
running build_ext
error: Setup script exited with error:
Python was built with Visual Studio 2003;
extensions must be built with a compiler
than can generate compatible binaries.
Visual Studio 2003 was not found on this
system. If you have Cygwin installed,
you can try compiling with MingW32, by
passing "-c mingw32" to setup.py.

Traits includes an extension module. You will need a suitable
compiler.

http://www.develer.com/oss/GccWinBinaries

To tell distutils to use this compiler for all extension modules,
create pydistutils.cfg file with the following contents:

[build_ext]
compiler=mingw32

See this page for details about this file:

http://docs.python.org/inst/config-syntax.html

You will get the most help about Traits and the rest of the Enthought
Tool Suite on the enthought-dev mailing list.

https://mail.enthought.com/mailman/l.../enthought-dev

--
Robert Kern
Jul 26 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Chris | last post: by
reply views Thread by Jane | last post: by
reply views Thread by R Stadig | last post: by
2 posts views Thread by =?Utf-8?B?U3RldmVTNjA=?= | last post: by
12 posts views Thread by Alan M Dunsmuir | last post: by
1 post views Thread by =?Utf-8?B?TWFydGlu?= | last post: by
reply views Thread by steve franklin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.