Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3692972
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:19:25+00:00 2026-05-19T04:19:25+00:00

I just installed the Python 2.7.1 on Windows Vista using installer from official site

  • 0

I just installed the Python 2.7.1 on Windows Vista using installer from official site, and get such error when run python.exe

C:\Python27>python.exe
Traceback (most recent call last):
  File "C:\Python27\Lib\site.py", line 553, in <module>
    main()
  File "C:\Python27\Lib\site.py", line 542, in main
    aliasmbcs()
  File "C:\Python27\Lib\site.py", line 467, in aliasmbcs
    import locale, codecs
  File "C:\Python27\Lib\locale.py", line 15, in <module>
    import encodings
  File "C:\Python27\Lib\encodings\__init__.py", line 32, in <module>
    from encodings import aliases
ImportError: cannot import name aliases

With Python 3.1.3, also just installed

Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
  File "C:\Python31\lib\encodings\__init__.py", line 32, in <module>
ImportError: cannot import name aliases

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

What is going on? Should I configure PYTHONPATH or some thing like this? If so, what values should it have?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T04:19:26+00:00Added an answer on May 19, 2026 at 4:19 am

    The only reference I could find points to a virus problem:

    Starts here: http://mail.python.org/pipermail/tutor/2009-January/066730.html
    Goes through: http://mail.python.org/pipermail/tutor/2009-January/066739.html
    And ends: http://mail.python.org/pipermail/tutor/2009-January/066750.html

    If your \Lib\encodings\aliases.py is missing and you cannot create a file with that name there, start looking for the trojan.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just installed the first release candidate of Python 3.0 and got this error
I am using python 2.6 on XP. I have just installed py2exe, and I
I have just installed Python on my Windows 7. I thought that after that
i just installed python i am trying to run this script: import csv reader
What is the best way to sniff network packets using Python? I've heard from
I just installed PyGame 1.9.1 (onto an existing python 2.6.4). Python and it standard
I have a working Python 2.6 install and just installed the PyQt4 built for
I just installed Python 2.7, but IDLE is currently broken on OS X 10.6.4.
So I just installed SubnetTree ( http://www.icir.org/robin/pysubnettree/ ) and if I open the Python
I am running Python 2.7 under Mac OS 10.6.4, and I just installed wxPython

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.