Hi,

Is NumPy installed on your machine?
If not then install it and try again.
(this may be happening because you've run Spyder once with NumPy
installed -- so it has stored something related to it in its
configuration file -- and then you've run again Spyder but without
NumPy)

If NumPy is installed, then it's a bug!
Try adding the following lines in workspace.py before line 34 where
FILTERS is defined:
try:
    from numpy import ndarray
except ImportError:
    pass

Pierre

On Jan 1, 7:29 pm, pmav99 <[email protected]> wrote:
> Hi
>
> I'm trying to install spyder on windows 7 (32 bit). I' ve tried to
> install it using both the binary file and pythonxy.
>
> When i click on the shortcut, on start menu, nothing happens.
>
> I've run "from spyderlib import spyder" on a python shell and i get
> the following error:
>
> Traceback (most recent call last):
>   File "C:\Python26\Scripts\spyder.pyw", line 2, in <module>
>     from spyderlib import spyder
>   File "C:\Python26\lib\site-packages\spyderlib\spyder.py", line 47,
> in <module>
>     from spyderlib.plugins.workspace import Workspace
>   File "C:\Python26\lib\site-packages\spyderlib\plugins\workspace.py",
> line 34, in <module>
>     FILTERS = tuple(str2type(CONF.get('workspace', 'filters')))
>   File "C:\Python26\lib\site-packages\spyderlib\config.py", line 46,
> in str2type
>     return tuple( [eval(string) for string in strings] )
>   File "<string>", line 1, in <module>
> NameError: name 'ndarray' is not defined
>
> any ideas?
>
> thank you and have a happy new year!

--

You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.


Reply via email to