(no subject)

Hi,
am trying to install wxpython on cygwin. I am following instructions on
http://gnuradio.org/trac/wiki/wxPythonCygwin and have gone thru to
step8. Building wxpython seems to have gone thru ok using:
python setup.py build_ext --inplace WXPORT=msw BUILD_GLCANVAS=0
BUILD_GIZMOS=0 UNICODE=0 --compiler=cygwin

now when i try to install wxpython as in step 12, it gives me error
saying

Warning: Can’t read registry to find the necessary compiler setting
Make sure that Python modules _winreg, win32api or win32con are
installed.building ‘core’ extensionerror: Python was built with Visual
Studio version 6, and extensions need to be built with the same version
of the compiler, but it isn’t installed.

When i try specifying compiler as cygwin using
python setup.py install WXPORT=msw BUILD_GLCANVAS=0 BUILD_GIZMOS=0
UNICODE=0 --compiler=cygwin

it says
error: option --compiler not recognized

!!!

any suggestion!!! Faisal A. KhanDoctral CandidateUniversity of New
South WalesNSW 2052, Sydney, AustraliaP) +61-2-93854208
M)+61-401-260728

try:

COMPILER=cygwin

instead of --compiler=cygwin

  • George

Phaysal Khan wrote:

am trying to install wxpython on cygwin. I am following instructions on
http://gnuradio.org/trac/wiki/wxPythonCygwin and have gone thru to step8.
Building wxpython seems to have gone thru ok using:
python setup.py build_ext --inplace WXPORT=msw BUILD_GLCANVAS=0
BUILD_GIZMOS=0 UNICODE=0 --compiler=cygwin

I don’t know what “–compiler-cygwin” does and I don’t see it in the
instructions in the wiki. I have never needed it.

now when i try to install wxpython as in step 12, it gives me error saying

Warning: Can’t read registry to find the necessary compiler setting Make
sure
that Python modules _winreg, win32api or win32con are installed.building
core’ extensionerror: Python was built with Visual Studio version 6,
and
extensions need to be built with the same version of the compiler, but it
isn’t
installed.

You should be using Cygwin python, not Windows python. “which python”
should tell you which python will be run, and you can double-check by
running python and entering the commands:

import os
os.name
import sys
sys.executable

os.name should be ‘posix’ and os.executable should be something like
‘/usr/bin/python’. If os.name is ‘nt’ and os.executable is something
like
‘c:\python25\python.exe’ then you have the wrong python. You may need
install the Cygwin python package or modify your PATH to be sure the
Cygwin
python is used.

– Don W.