Menu ▾ ▴

resolving 'import site' failed error

2008-06-09
2013-03-15
  • Bryan Nahrwold

    Bryan Nahrwold - 2008-06-09

    I am using Eclipse Europa 3.3.1.1 with pydev 1.3.17 and python 2.5.  Today everything suddenly stopped running producing a number of bizarre errors including socket errors.  I had been using the debugger.

    I have removed all breakpoints and even created a new base configuration for a test module that is completely empty, not even a comment.  When I run this file, I get:

    'import site' failed; use -v for traceback

    I created another workstation.  The problem does not occur in the secondary workspace.  Where can I look to see what I have misconfigured to produce the 'import site' errors?

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2008-06-12

      That's usually a sign that you somehow mixed python versions (usually happens when mixing python and jython libs or something similar to that).

      Cheers,

      Fabio