René Dudfield wrote:
Ok, I've reinstalled python, both using the administrator account and the unpriveleged user account. In both cases pygame doesn't install correctly as an unpriveleged user, but does using the administrator account.On Tue, Nov 10, 2009 at 4:48 PM, Thomas Ibbotson <thomas.ibbotson@xxxxxxxxx> wrote:Thomas Ibbotson wrote:René Dudfield wrote:On Tue, Nov 10, 2009 at 3:33 PM, Thomas Ibbotson <thomas.ibbotson@xxxxxxxxx> wrote:I'm using the pygame-1.9.1.win32-py2.6.msi installer with a fresh install of Python2.6. Pygame is not installed correctly, and creates C:\Lib and C:\Include directories. I can manually move these into my Python26 folder to fix this. I don't have an APPDATA environment variable set, perhaps this is being assumed to exist and as it is not set it is being installed in C:\? Tomhi, which version of windows are you using? Also, which user did you install it under? cheers,I'm using Windows XP Professional SP3. I tried to install it both under 'All Users' and 'Just for me', neither worked. The user account I was using was not an administrator account on the system. It also turns out the APPDATA environment variable is set, I just can't see it in the Control Panel->System->Advanced->Environment variables list, but it is in the os.environ dictionary in python. TomUpdate: I just managed to run the installer as an administrator and the installation worked correctly. I thought that .msi installers got round the issue of having to be an administrator to install things? Tomyeah, it's usually all worked out for me in the past. This is the first I've heard of this problem... we pretty much use the default msi installer builder from python with a couple of extensions... so it should be working ok. Do you remember which user you installed python under? I can't find an msi related bug at bugs.python.org (only looked very quickly). Do you have PYTHONPATH set? Maybe it is set to "" or "C:\" ? cheers,
I don't have PYTHONPATH set. Tom