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 managed to get py2exe work on a Windows Virtual Machine but stumbled
I preivously had gtk 2.14.6 installed, using it through python 2.5 with pygtk 2.12.
Possible Duplicate: Set up Python on Windows to not type python in cmd When
Recently I installed wxPython to do some works under Windows. Most of the time
I am trying to install python on windows, and this is my first day
I'm building my first GeoDjango project but I'm kinda desperate. I'v installed PostgreSQL 9
short story I run ./manage.py schemamigration junk_app --initial on a completely fresh django project
I have a latest windows netbeans version (6.9.1) and i want to instal a
I've made a small little "application" utilizing Django as a framework. This is an

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.