AW: [wxPython] Windows installer and cygwin

did you set the PATH Variable to X:\python ??

Yes and no -- when I start from an NT command prompt, python won't run
(because cygwin has not been initialized properly) but I also tried
starting the installation from the bash prompt in cygwin (which can run
Windows programs without problems -- actually all the cygwin Unix tools
are native Windows programs that use a cygwin DLL for Unix-like stuff)

I also put in the registry key for the "native" Python installation as
indicated in another message in this thread but it's not enough for the
installer. Guess I need to install the Windows version of python,
install wxPython and remove Python again after extracting the wxPython
files.

Thanks,
--Christian

-----Ursprungliche Nachricht-----

···

Von: Christian Mueller [SMTP:chm@lucent.com]
Gesendet am: Mittwoch, 22. August 2001 06:21
An: wxpython-users@lists.wxwindows.org
Betreff: [wxPython] Windows installer and cygwin

Hi alll,

I installed cygwin on W2K including Python 2.1 and I assume wxPython is
going to run in this environment, too. Unfortunately, the Windows
installer
for wxPython doesn't recognize this and complains about not finding
Python.
I would need to know how I can either make the Windows installer copy
the
files anyway or how to get the Windows binaries without installer.

Any help appreciated....

Thanks,
--Christian
<< Datei: ATT00000.html >>

Guess I need to install the Windows version of python,
install wxPython and remove Python again after extracting the wxPython
files.

I have both the windows version of python 2.1 and the cygwin version. I
already had wxPython installed on the windows version, and wanted it on the
cygwin version also.

I ran the installer again, and for the path I pointed it to
c:/cygwin/lib/python2.1/. It didn't complain on the install, but this is
what I get when I try to import wxPython:

import wxPython

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "wxPython/__init__.py", line 20, in ?
    import wxc
ImportError: No module named wxc

Is this something that can be solved, or am I just being silly trying to get
wxPython to run with the cygwin python?

I ran the installer again, and for the path I pointed it to
c:/cygwin/lib/python2.1/. It didn't complain on the install, but this is
what I get when I try to import wxPython:

>>> import wxPython
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "wxPython/__init__.py", line 20, in ?
    import wxc
ImportError: No module named wxc
>>>

I've never run cygwin Python, so these may be dumb questions... Does cygwin
Python work with unmodified .pyd files that are built for Win32 Python or is
it expecting them to be in a file with some other name? (.dll or .so?) If
so, are they binary compatible with the .pyd's?

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!