[Tutor] Re: Could I have used time or datetime modules here?

Liam Clarke cyresse at gmail.com
Sat Dec 11 02:48:33 CET 2004


Hi Dick, 

I'm ccing this to the list, for the experienced people to comment on .

Traceback (most recent call last):
>    File "<pyshell#13>", line 1, in -toplevel-
>      import pygame
>    File "C:\Python24\lib\site-packages\pygame\__init__.py", line 64, in
> -toplevel-
>      from pygame.base import *
> ImportError: Module use of python23.dll conflicts with this version of
> Python.

As far as I know, you'll either have to - run Python 2.3 or - run
Python 2.3 until they release a new version of Pygame,

Tutors?

Regards,

Liam Clarke

On Fri, 10 Dec 2004 06:38:21 -0800, Dick Moores <rdm at rcblue.com> wrote:
> Liam,
> 
> Glad to find a searchable archive of tutor.
> 
> Searched on PHYTHONPATH there, read a bunch and tried this (pygame is at
> C:\Python23\Lib\site-packages\pygame)
>  >>> import sys
>  >>> sys.path.append('C:\Python23\Lib\site-packages\pygame')
>  >>> import pygame
> Traceback (most recent call last):
>    File "<pyshell#10>", line 1, in -toplevel-
>      import pygame
> ImportError: No module named pygame
> 
> and
> 
>  >>> print sys.path
> ['C:\\Python24\\Lib\\idlelib', 'C:\\Python23',
> 'C:\\WINDOWS\\system32\\python24.zip', 'C:\\Documents and
> Settings\\Dick', 'C:\\Python24\\DLLs', 'C:\\Python24\\lib',
> 'C:\\Python24\\lib\\plat-win', 'C:\\Python24\\lib\\lib-tk',
> 'C:\\Python24', 'C:\\Python24\\lib\\site-packages',
> 'C:\\Python24\\lib\\site-packages\\win32',
> 'C:\\Python24\\lib\\site-packages\\win32\\lib',
> 'C:\\Python24\\lib\\site-packages\\Pythonwin']
> 
> Could the problem be that I've installed Python 2.4? pygame installed
> itself at C:\Python23\Lib\site-packages\pygame.
> 
> Just now I copied pygame to C:\Python24\Lib\site-packages and now get
>  >>> import pygame
> 
> Traceback (most recent call last):
>    File "<pyshell#13>", line 1, in -toplevel-
>      import pygame
>    File "C:\Python24\lib\site-packages\pygame\__init__.py", line 64, in
> -toplevel-
>      from pygame.base import *
> ImportError: Module use of python23.dll conflicts with this version of
> Python.
> 
> Dick
> 
> Liam Clarke wrote at 05:17 12/10/2004:
> 
> 
> >Nevermind. Don't need it.
> >
> >Just fire up your interpreter and check out sys.path. Search the tutor
> >list's archives for at ActiveState for PYTHONPATH.
> >
> >Good luck,
> >
> >Liam
> >
> >
> >On Fri, 10 Dec 2004 05:13:05 -0800, Dick Moores <rdm at rcblue.com> wrote:
> > > Don't know. Never used it, anyway. What's the filename, and I'll search
> > > for it on my hard drive.
> > >
> > > Thanks
> > >
> > > Liam Clarke wrote at 04:20 12/10/2004:
> > >
> > >
> > > >Dick,
> > > >
> > > >Do you have MSN Messenger at all?
> > > >
> > > >Liam
> > >
> > >
> >
> >
> >--
> >'There is only one basic human right, and that is to do as you damn well
> >please.
> >And with it comes the only basic human duty, to take the consequences.
> 
> 


-- 
'There is only one basic human right, and that is to do as you damn well please.
And with it comes the only basic human duty, to take the consequences.


More information about the Tutor mailing list