Hi Daniwebers

I'm trying install pygame into my Python 2.6 installation.

I'm running Windows 7 64bit.

I had everything working before, but I was trying to install pygame into a into a Python 3.1 installation and i kept getting an error, so I thought i'd uninstall everything and try again. My problems started when i started uninstalling, nothing seemed to uninstall properly :-(

I uninstalled everything from the control panel, but when i started to reinstall it kept telling me to uninstall python before continuing. At a loss of what to do, i installed both Python 2 and 3 again and now I'm trying to put pygame back. I used the msi installer for Pygame 3.1 but i get an import error, and now I can't put pygame back into the 2.6 installation.

So one problem at a time. Can anybody help me with these dependencies?

c:\Python26\Scripts>easy_install pygame
Searching for pygame
Reading http://pypi.python.org/simple/pygame/
Reading http://www.pygame.org/
Reading http://www.pygame.org/download.shtml
Best match: pygame 1.9.1release
Downloading http://www.pygame.org/ftp/pygame-1.9.1release.zip
Processing pygame-1.9.1release.zip
Running pygame-1.9.1release\setup.py -q bdist_egg --dist-dir c:\users\jonathan\a
ppdata\local\temp\easy_install-xyayct\pygame-1.9.1release\egg-dist-tmp-cllzbm


WARNING, No "Setup" File Exists, Running "config.py"
Using WINDOWS configuration...

Path for SDL not found.
Too bad that is a requirement! Hand-fix the "Setup"
Path for FONT not found.
Path for IMAGE not found.
Path for MIXER not found.
Path for SMPEG not found.
Path for PNG not found.
Path for JPEG not found.
Path for PORTMIDI not found.
Path for COPYLIB_tiff not found.
Path for COPYLIB_z not found.
Path for COPYLIB_vorbis not found.
Path for COPYLIB_ogg not found.

If you get compiler errors during install, doublecheck
the compiler flags in the "Setup" file.


Continuing With "setup.py"
WARNING, DLL for smpeg library not found.
WARNING, DLL for tiff library not found.
WARNING, DLL for SDL_ttf library not found.
WARNING, DLL for SDL_image library not found.
WARNING, DLL for vorbisfile library not found.
WARNING, DLL for jpeg library not found.
WARNING, DLL for vorbis library not found.
WARNING, DLL for SDL_mixer library not found.
WARNING, DLL for png library not found.
WARNING, DLL for SDL library not found.
WARNING, DLL for ogg library not found.
WARNING, DLL for z library not found.
WARNING, DLL for portmidi library not found.
warning: no files found matching 'readme.txt'
no previously-included directories found matching '*\CVS'
no previously-included directories found matching '*\*\CVS'
error: Setup script exited with error: Unable to find vcvarsall.bat

c:\Python26\Scripts>

My hunch, do not install the 64bit version of Python, use the 32bit version. Otherwise, many external modules will not install properly.

I should clarify, I am using the 32 bit python 2.6. The 3.1 installation is using 64bit.

Pygame worked before in 2.6 and only stopped working when i began to try to install pygame in 3.1 and started reinstalling everything.

I should clarify, I am using the 32 bit python 2.6. The 3.1 installation is using 64bit.

Pygame worked before in 2.6 and only stopped working when i began to try to install pygame in 3.1 and started reinstalling everything.

I tried installing pygame using the msi installer and it worked :) sorry.

It looks like pygame doesn't support 64bit python apparently which could explain why the 64bit 3.1 install doesn't work.

Edited 6 Years Ago by jazzvibes: n/a

This question has already been answered. Start a new discussion instead.