I wonder if this is a difference between installing Python for all
users vs. just me. I've never had a problem installing wxPython on
Windows. Which version of Windows are you on?
···
On Nov 11, 8:29 pm, cjblaine <cjbla...@gmail.com> wrote:
Hi all, new to wxPython, not new to Python
A few things.
1. Python 2.6 defaults to installing in C:\Python26
I allowed this\.
wxPython immediately complains at install time that it
cannot find Python\. I can find 'C:\\Python26' in the following
2. When warned about it, I specify C:\Python26\Lib\site-packages
as the location for installation.
At installer exit time, I have selected 'compile \.py files'
and 'create tool scripts'
I get the following error dialog twice:
Unable to execute file:
C:\\Put a directory on PYTHONPATH here\\python\.exe
> 2. When warned about it, I specify C:\Python26\Lib\site-packages
> as the location for installation.
> At installer exit time, I have selected 'compile .py files'
> and 'create tool scripts'
> I get the following error dialog twice:
> Unable to execute file:
> C:\Put a directory on PYTHONPATH here\python.exe
I wonder if this is a difference between installing Python for all
users vs. just me. I've never had a problem installing wxPython on
Windows. Which version of Windows are you on?
Python 2.6.4 installed as default, "For all users"
I don't have Windows 7 installed on anything, so I cannot test this. I
think there may be others on the list who do...or who tested with the
Win7 beta. Maybe they can provide some insight.
- Mike
···
On Nov 12, 9:50 am, cjblaine <cjbla...@gmail.com> wrote:
On Nov 12, 10:37 am, Mike Driscoll <kyoso...@gmail.com> wrote:
> On Nov 11, 8:29 pm, cjblaine <cjbla...@gmail.com> wrote:
> > Hi all, new to wxPython, not new to Python
> > A few things.
> > 1. Python 2.6 defaults to installing in C:\Python26
> > I allowed this.
> > wxPython immediately complains at install time that it
> > cannot find Python. I can find 'C:\Python26' in the following
> > registry
> > locations.
> > 2. When warned about it, I specify C:\Python26\Lib\site-packages
> > as the location for installation.
> > At installer exit time, I have selected 'compile .py files'
> > and 'create tool scripts'
> > I get the following error dialog twice:
> > Unable to execute file:
> > C:\Put a directory on PYTHONPATH here\python.exe
> I wonder if this is a difference between installing Python for all
> users vs. just me. I've never had a problem installing wxPython on
> Windows. Which version of Windows are you on?
The Installer isn't currently checking for the Wow6432Node version of this path, I'll fix that for the next release. In the meantime you can work around this by making a registry key that is the same as above but without the "\Wow6432Node".
2. When warned about it, I specify C:\Python26\Lib\site-packages
as the location for installation.
At installer exit time, I have selected 'compile .py files'
and 'create tool scripts'
I get the following error dialog twice:
Unable to execute file:
C:\Put a directory on PYTHONPATH here\python.exe
The same function is called again (and in several other places too) to get the python location from the registry. I can't reliably use the location entered by the user in these places because they may have entered some location other than the Python dir, and since the installer doesn't prompt for the location again I'm stuck... The workaround above will solve this problem too.