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

C

Colin J. Williams

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.py
->
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.py
->
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.
 
R

Robert Kern

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
 
C

Colin J. Williams

Robert,

Many thanks, this has put me on track.

Colin W.

Robert said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top