[SciPy-user] "import scipy" fails

Travis N. Vaught travis at enthought.com
Fri Sep 20 23:34:27 EDT 2002


Hmmm...

I just tried it too (we've just reinstated the 'nightly' builds and are
working though some kinks) and I duplicated your error in pythonwin.  It
does work from the command prompt (dos shell, cmd.exe)--so you might want to
check it out from there until it gets fixed in pythonwin.

I'll have to see why the pythonwin ide command line isn't playing well with
the color terminal code.

Travis

> -----Original Message-----
> From: scipy-user-admin at scipy.net [mailto:scipy-user-admin at scipy.net]On
> Behalf Of Keun Park
> Sent: Friday, September 20, 2002 9:35 PM
> To: scipy-user at scipy.net
> Subject: [SciPy-user] "import scipy" fails
>
>
>
>
>
> Hi!
>
> I've installed the latest
> SciPy(SciPy-0.2.0_alpha_130.4149.win32-py2.2.exe)
> successfully. However, when importing the module this is the result:
>
> ------------------------------------------------------------------
> ----------
> PythonWin 2.2.1 (#34, Apr 15 2002, 09:51:39) [MSC 32 bit (Intel)]
> on win32.
> Portions Copyright 1994-2001 Mark Hammond
> (mhammond at skippinet.com.au) - see
> 'Help/About PythonWin' for further copyright information.
>
> >>>from scipy import *
> Traceback (most recent call last):
>   File "<interactive input>", line 1, in ?
>   File "C:\Python22\Lib\site-packages\scipy\__init__.py", line 49, in ?
>     import special, io, linalg, stats, fftpack
>   File "C:\Python22\Lib\site-packages\scipy\special\__init__.py",
> line 328,
> in ?
>     import orthogonal
>   File
> "C:\Python22\Lib\site-packages\scipy\special\orthogonal.py", line 59,
> in ?
>     from scipy.linalg import eig
>   File "C:\Python22\Lib\site-packages\scipy\linalg\__init__.py",
> line 42, in
> ?
>     from basic import *
>   File "C:\Python22\Lib\site-packages\scipy\linalg\basic.py",
> line 11, in ?
>     from lapack import get_lapack_funcs
>   File "C:\Python22\Lib\site-packages\scipy\linalg\lapack.py",
> line 9, in ?
>     from scipy_distutils.misc_util import PostponedException
>   File "C:\Python22\Lib\site-packages\scipy_distutils\misc_util.py", line
> 20, in ?
>     if terminal_has_colors():
>   File
> "C:\Python22\Lib\site-packages\scipy_distutils\misc_util.py", line 6,
> in terminal_has_colors
>     if not sys.stdout.isatty(): return 0
>   File
> "C:\Python22\Lib\site-packages\Pythonwin\pywin\mfc\object.py", line
> 18, in __getattr__
>     return getattr(o, attr)
> AttributeError: isatty
> >>>
>
> ------------------------------------------------------------------
> ---------------
> Can someone please tell me what's wrong? Thanks.
>
>
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>




More information about the SciPy-User mailing list