[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] display initialization problems
No, I didn't, but upon trying it I recieve the same error. I didn't expect that would do anything as pygame.init() is supposed to autoinitialize all of the modules, of which display is one. I included the pygame.init() snippet to demonstrate that the rest of the modules were initializing properly incase it was of interest/use to anyone helping me.
On Tue, Jan 11, 2005 at 12:59:15PM +0200, Toni Alatalo wrote:
> On Tue, 11 Jan 2005, Jeremy Etherton wrote:
>
> > Hello, List.
>
> hi, a quick one 'cause couldn't see this in the post:
> did you try doing pygame.init() before pygame.display.init() ?
>
> ~Toni
>
> > Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32
> > Type "help", "copyright", "credits" or "license" for more information.>>> import pygame
> > >>> pygame.display.init()
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in ?
> > pygame.error: DirectInput::CreateDevice: Device not registered
> > >>>
> >
> >
> > Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import pygame
> > >>> pygame.init()
> > (5, 1)
> > >>>
>