I am trying to install pygame using pip install pygame but it does not work...
C:\Python27\pygame-1.9.1release>pip install pygame
'pip' is not recognized as an internal or external command,operable program or batch file.
I have tried to run the setup.py file from pygame-1.9.1release but i got the following traceback...
No Arguments Given, Perform Default Install? [Y/n]y
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.
running install
running build
running build_py
running build_ext
building 'pygame._numericsurfarray' extension
Traceback (most recent call last):
File "C:\Python27\Lib\pygame-1.9.1release\setup.py", line 491, in <module>
setup(**PACKAGEDATA)
File "C:\Python27\lib\distutils\core.py", line 169, in setup
raise SystemExit, "error: " + str(msg)
SystemExit: error: Unable to find vcvarsall.bat
Please guide me how can i use pip command...and how can i install pygame
i am using python2.7.8
While trying to do get-pip.py in python2.7.8 python shell i am getting the following traceback...
Traceback (most recent call last):
File "C:\Users\hardik\Downloads\get-pip(3).py", line 20204, in <module> main()
File "C:\Users\hardik\Downloads\get-pip(3).py", line 152, in main bootstrap(tmpdir=tmpdir)
File "C:\Users\hardik\Downloads\get-pip(3).py", line 130, in bootstrap sys.exit(pip.main(["install", "--upgrade"] + packages + args))
File "c:\users\hardik\appdata\local\temp\tmpj_gcu3\pip.zip\pip\__init__.py", line 217, in main
File "c:\users\hardik\appdata\local\temp\tmpj_gcu3\pip.zip\pip\basecommand.py", line 183, in main
File "C:\Python27\lib\logging\config.py", line 776, in dictConfig dictConfigClass(config).configure()
File "C:\Python27\lib\logging\config.py", line 575, in configure '%r: %s' % (name, e))
ValueError: Unable to configure handler 'console': closed