discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] (no subject)


From: Don Ward
Subject: Re: [Discuss-gnuradio] (no subject)
Date: Fri, 29 Feb 2008 21:03:52 -0500

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]