To solve the first error, you need to go to:

Tools > Preferences > Console > Advanced Settings > PYTHONSTARTUP replacement

and select the option

[ ] Default PYTHONSTARTUP script


About the second error: have you updated IPython on EPD to version 0.13.1? By default EPD 7.3 comes with IPython 0.12.

Cheers,
Carlos


El 01/03/13 00:33, Firas Moosvi escribió:
Hey Carlos, BR,

I am also getting these errors in the Python console.

When I try to switch to the iPython console, I get the following errors:

Traceback (most recent call last):
File "/Applications/Spyder.app/Contents/Resources/site.py", line 120, in <module>
    import sitecustomize
File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/sitecustomize.py", line 159, in <module>
    os.environ["SPYDER_AR_STATE"].lower() == "true")
File "/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/externalshell/monitor.py", line 136, in __init__
    self.i_request.connect( (host, introspection_port) )
File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
socket.error: [Errno 61] Connection refused

Please help!

Firas


On Thursday, February 14, 2013 8:32:20 AM UTC-8, BR wrote:

    Ok.  Here is the console output when I use the full version of
    EPD.  It looks the same as the free version of EPD, except the
    first few lines are missing.

    Python 2.7.3 |CUSTOM| (default, Apr 12 2012, 11:14:05)
    [GCC 4.0.1 (Apple Inc. build 5493)] on darwin
    Type "help", "copyright", "credits" or "license" for more information.
    Traceback (most recent call last):
      File
    
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/scientific_startup.py",
    line 16, in <module>
        from pylab import *  #analysis:ignore
      File
    
"/Library/Frameworks/EPD64.framework/Versions/7.3/lib/python2.7/site-packages/pylab.py",
    line 1, in <module>
        from matplotlib.pylab import *
      File
    
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/pylab.py",
    line 265, in <module>
        from matplotlib.pyplot import *
      File
    
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/pyplot.py",
    line 97, in <module>
        _backend_mod, new_figure_manager, draw_if_interactive, _show =
    pylab_setup()
      File
    
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/backends/__init__.py",
    line 25, in pylab_setup
        globals(),locals(),[backend_name])
      File
    
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/backends/backend_qt4agg.py",
    line 13, in <module>
        from backend_qt4 import QtCore, QtGui, FigureManagerQT,
    FigureCanvasQT,\
      File
    
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/backends/backend_qt4.py",
    line 24, in <module>
        from qt4_compat import QtCore, QtGui, _getSaveFileName,
    __version__
      File
    
"/Applications/Spyder.app/Contents/Resources/lib/python2.7/matplotlib/backends/qt4_compat.py",
    line 36, in <module>
        import sip
    ImportError: No module named sip

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



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


Reply via email to