Python 2.6.6 on Windows 7 problem - "ImportError: No module named site"

Discussion in 'Python' started by Mark Ohrboot, Jul 15, 2011.

  1. Mark Ohrboot

    Mark Ohrboot Guest

    Hello!

    If I start python -v, I get

    "# installing zipimport hook
    import zipimport # builtin
    # installed zipimport hook
    'import site' failed; traceback
    ImportError: No module named site"

    Entering any command yields
    "LookupError: no codec search functions registered: can't find
    encoding"

    I reinstalled it, but this makes no difference. Any suggestions?

    Thanks
    Mark
     
    Mark Ohrboot, Jul 15, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Michael Johnson Sr.
    Replies:
    0
    Views:
    732
    Michael Johnson Sr.
    Feb 4, 2004
  2. Max M
    Replies:
    1
    Views:
    429
    Brandon K
    Oct 10, 2005
  3. Replies:
    8
    Views:
    666
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Apr 11, 2007
  4. Burlen Loring
    Replies:
    0
    Views:
    725
    Burlen Loring
    Feb 21, 2011
  5. Martin Landa
    Replies:
    6
    Views:
    104
    Cameron Simpson
    Mar 26, 2014
Loading...

Share This Page