王春生 wrote: > import _socket > ImportError: Service unavailable > line 174: > Traceback (most recent call last): > File "<string>", line 1, in <module> > NameError: name 'debugger_init' is not defined > > The error is very strange. I think the _socket can be found but can be > imported successfully. I run python in cli like this: > > Python 2.5.1 (r251:54863, Dec 11 2007, 00:08:03) > [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4 > Type "help", "copyright", "credits" or "license" for more information. > >>> import _socket > >>> > > There's no error.
Don't know, what is it worst, but I have saw the error _like_ this, when I was on _windows_ and tried to use VIM linked again python 2.6. After downgrade to 2.5 all was fine. See this thread for more details: http://groups.google.com/group/comp.editors/browse_thread/thread/4f5fde9f1584619b/49b2545f76f75cf3?#49b2545f76f75cf3 and more specifically, this message: http://groups.google.com/group/comp.editors/msg/e977ce2f28f9d15a Hope that helps. -- Anton --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
