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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Colin J. Williams

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

    Using >easy_install -v -f

    enthought.trait s

    The result is:

    ....
    many lines
    ....

    copying
    enthought\trait s\ui\tests\shel l_editor_test.p y
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copying
    enthought\trait s\ui\tests\tabl e_editor_color_ test.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copying
    enthought\trait s\ui\tests\tabl e_editor_focus_ bug.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copying
    enthought\trait s\ui\tests\tabl e_editor_test.p y
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copying
    enthought\trait s\ui\tests\tabl e_editor_test2. py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copying
    enthought\trait s\ui\tests\tabl e_list_editor_t est.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copying
    enthought\trait s\ui\tests\tree _editor_test.py
    ->
    build\lib.win32-2.5\enthought\t raits\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\De sktop>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.
  • Robert Kern

    #2
    Re: An Attempt to download and install traits - to a Windows XP

    On Jul 25, 5:37 pm, "Colin J. Williams" <c...@ncf.cawro te:
    Using >easy_install -v -fhttp://code.enthought. com/enstaller/eggs/sourceenthought .traits
    >
    The result is:
    >
    ...
       many lines
    ...
    >
    copyingenthough t\traits\ui\tes ts\shell_editor _test.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copyingenthough t\traits\ui\tes ts\table_editor _color_test.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copyingenthough t\traits\ui\tes ts\table_editor _focus_bug.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copyingenthough t\traits\ui\tes ts\table_editor _test.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copyingenthough t\traits\ui\tes ts\table_editor _test2.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copyingenthough t\traits\ui\tes ts\table_list_e ditor_test.py
    ->
    build\lib.win32-2.5\enthought\t raits\ui\tests
    copyingenthough t\traits\ui\tes ts\tree_editor_ test.py
    ->
    build\lib.win32-2.5\enthought\t raits\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.



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

    [build_ext]
    compiler=mingw3 2

    See this page for details about this file:



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



    --
    Robert Kern

    Comment

    • Colin J. Williams

      #3
      Re: An Attempt to download and install traits - to a Windows XP

      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.cawro te:
      >Using >easy_install -v -fhttp://code.enthought. com/enstaller/eggs/sourceenthought .traits
      >>
      >The result is:
      >>
      >...
      > many lines
      >...
      >>
      >copyingenthoug ht\traits\ui\te sts\shell_edito r_test.py
      >->
      >build\lib.win3 2-2.5\enthought\t raits\ui\tests
      >copyingenthoug ht\traits\ui\te sts\table_edito r_color_test.py
      >->
      >build\lib.win3 2-2.5\enthought\t raits\ui\tests
      >copyingenthoug ht\traits\ui\te sts\table_edito r_focus_bug.py
      >->
      >build\lib.win3 2-2.5\enthought\t raits\ui\tests
      >copyingenthoug ht\traits\ui\te sts\table_edito r_test.py
      >->
      >build\lib.win3 2-2.5\enthought\t raits\ui\tests
      >copyingenthoug ht\traits\ui\te sts\table_edito r_test2.py
      >->
      >build\lib.win3 2-2.5\enthought\t raits\ui\tests
      >copyingenthoug ht\traits\ui\te sts\table_list_ editor_test.py
      >->
      >build\lib.win3 2-2.5\enthought\t raits\ui\tests
      >copyingenthoug ht\traits\ui\te sts\tree_editor _test.py
      >->
      >build\lib.win3 2-2.5\enthought\t raits\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.
      >

      >
      To tell distutils to use this compiler for all extension modules,
      create pydistutils.cfg file with the following contents:
      >
      [build_ext]
      compiler=mingw3 2
      >
      See this page for details about this file:
      >

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

      >
      --
      Robert Kern

      Comment

      Working...