By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,727 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,727 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
2 Replies

P: n/a
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

P: n/a
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.