wxPython 2.8.10.1 installation errors

540 views
Skip to first unread message

cjblaine

unread,
Nov 11, 2009, 9:29:26 PM11/11/09
to wxPython-users
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.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
\Python.exe]
@="C:\\Python26\\Python.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows
\CurrentVersion\App Paths\Python.exe]
@="C:\\Python26\\Python.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore
\2.6\InstallPath]
@="C:\\Python26\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore
\2.6\InstallPath\InstallGroup]
@="Python 2.6"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore
\2.6\PythonPath]
@="C:\\Python26\\Lib;C:\\Python26\\DLLs;C:\\Python26\\Lib\\lib-tk"


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

Mike Driscoll

unread,
Nov 12, 2009, 10:37:30 AM11/12/09
to wxPython-users
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?

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org

cjblaine

unread,
Nov 12, 2009, 10:50:48 AM11/12/09
to wxPython-users
Windows 7 Professional

Python 2.6.4 installed as default, "For all users"

Mike Driscoll

unread,
Nov 12, 2009, 11:46:22 AM11/12/09
to wxPython-users


On Nov 12, 9:50 am, cjblaine <cjbla...@gmail.com> wrote:
> Windows 7 Professional
>
> 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

Robin Dunn

unread,
Nov 12, 2009, 12:53:42 PM11/12/09
to wxpytho...@googlegroups.com
On 11/11/09 6:29 PM, cjblaine 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.

> [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore


> \2.6\InstallPath]
> @="C:\\Python26\\"


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.

--
Robin Dunn
Software Craftsman
http://wxPython.org

Reply all
Reply to author
Forward
0 new messages