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 7003153
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:01:36+00:00 2026-05-27T21:01:36+00:00

I have installed python 2.6.6 and pygame 2.6 from here: http://pygame.org/ftp/pygame-1.9.1.win32-py2.6.msi However, when I

  • 0

I have installed python 2.6.6 and pygame 2.6 from here:
http://pygame.org/ftp/pygame-1.9.1.win32-py2.6.msi

However, when I try to run this simple program, I get a an error:

import pygame
pygame.init()
pygame.quit ()

The error says:

unresolved import:pygame

What could it be?

Edit:
When I am doing

import pygame

in C:\Python26\python.exe , the interpreter, it works ok.
So it is probably an Eclipse problem.
Anyone has an idea what to do?

  • 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-27T21:01:37+00:00Added an answer on May 27, 2026 at 9:01 pm

    Before

     import pygame
    

    add the lines

    import sys
    print sys.path
    

    if the path to pygame isn’t shown, then you’ve don’t have the PYTHONPATH environment variable set correctly.

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

Sidebar

Related Questions

I have installed python from .msi installer in windows and installed a lot of
in Lion, have installed python 3.2.2 from python.org. It comes with a terminal command
Python novice here. I am using python2.7.2 on Windows7. I have installed the PyWin32
I am running Mac OS X 10.5.8. I have installed Python 2.6 from the
I have python 2.7.1 installed and I'm trying to install pygame (2.6) but when
I have installed Python 3.2 on my Mac. After I run /Applications/Python 3.2/Update Shell
I have installed the new python release and would like to run .py files
I have installed Python 2.7 (Windwos 7). However, I am unable to load the
I have installed Python Tools for Visual Studio and I cannot see the output
I have installed python 32 package to the C:\python32 I have also set the

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.