'Importar sitecustomize' falló al iniciar spyder
Estoy tratando de instalar python. O en realidad, ya lo instalé y lo desinstalé varias veces. Estoy usando pythonxy con el IDE del spyder (estoy acostumbrado a matlab porque quiero usar el spyder). Python 3.3.2 ni siquiera comenzaría con spyder en mi máquina win8, por lo que ahora tengo instalada la versión 2.7.
¿Spyder se inicia ahora, pero al iniciar me falla el `'import sitecustomize'? en mi consola y python no ejecuto ningún comando que ingrese. Después del error, el startupscript continúa para siempre sin hacer nada y ya no puedo hacer nada. El error me dice que inicie Python con el apéndice -v, que se muestra a continuación.
He buscado en Google este error que me dio dos soluciones posibles: debería editar python.rbhttps://github.com/mxcl/homebrew/commit/10ba101c323f98118b427f291e15abc5b3732991 o debería aplicar este (archivo adjunto en la última publicación allí) para personalizar el sitiohttps://code.google.com/p/spyderlib/issues/detail?id=771
La aplicación del archivo diff no ayudó y como mata explica a continuación, el archivo .rb se utiliza durante la instalación, por lo que no es aplicable a mi problema.
Así que mi pregunta: ¿Alguien sabe cómo solucionar este error por experiencia?
El error:
'import sitecustomize' failed; use -v for traceback
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
El rastreo:
C:\Python27\lib\site-packages\spyderlib\pil_patch.pyc matches C:\Python27\lib\site-packages\spyderlib\pil_patch.py
import spyderlib.pil_patch # precompiled from C:\Python27\lib\site-packages\spyderlib\pil_patch.pyc
Traceback (most recent call last):
File "C:\Python27\lib\site.py", line 498, in execsitecustomize
import sitecustomize
File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 174, in <module>
os.environ["SPYDER_AR_STATE"].lower() == "true")
File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\monitor.py", line 146, in __init__
self.n_request.connect( (host, notification_port) )
File "C:\Python27\lib\socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 10061] No connection could be made because the target machine actively refused it
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.