Re: wont run on win 7 64bit

Carsten Grohmann <[email protected]>
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
Hi John,

Am 21.07.2014 11:56 schrieb John Pote <[email protected]>:
> So I removed the SAE version and downloaded "wxGlade-0.6.8.zip",
> extracted all the files and put them in D:\Apps\wxGlade-0.6.8, added
> "D:\Apps\Python\2_7\Lib\site-packages\wx-2.8-msw-unicode" to
> PYTHONPATH.
[..]
> "D:\Apps\Python\2_7\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py",
> line 45, in <module> from wx._core import * File
> "D:\Apps\Python\2_7\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
> line 4, in <module> import _core_ ImportError: DLL load failed: %1 is
> not a valid Win32 application. ---------

Extending the PYTHONPATH shouldn't be necessary. Please try two test:
1) Open a command window, start your python (resp. python2) interpreter
and call "import wx". I expect this step runs fine without trouble.

2) Open a command window, change into th wxGlade installation directory
and execute python wxglade.py and report the result.

Don't set PYTHONPATH in both cases.

Regards,
Carsten

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.