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

Robert Kern robert.kern at gmail.com
Sat Jul 26 04:29:31 EDT 2008


On Jul 25, 5:37 pm, "Colin J. Williams" <c... at ncf.ca> wrote:
> 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_color_test.py
> ->
> build\lib.win32-2.5\enthought\traits\ui\tests
> copyingenthought\traits\ui\tests\table_editor_focus_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_test2.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/listinfo/enthought-dev

--
Robert Kern



More information about the Python-list mailing list