|
From: David M. <ma...@ca...> - 2007-08-15 23:18:55
|
I'm working on building pymol inside mingw using the Windows version of Python 2.5.1 (the version that installs from an .msi file). Python is installed in C:/progs/Python25 Msys is installed in C:/progs/mingw Mingw is installed in C:/progs/mingw/1.0/mingw gcc.exe for mingw is the 4.2.1 binary. In an msys window: export PATH=$PATH:/c/progs/python25 I was able to build (with some effort) pymol in this environment using: python setup.py build -c mingw32 However when I try to install it does this: python setup.py install in setup.py win32 running install running build running build_py running build_ext error: Python was built with Visual Studio 2003; extensions must be built with a compiler than can generate compatible binaries. Visual Studio 2003 was not found on this system. If you have Cygwin installed, you can try compiling with MingW32, by passing "-c mingw32" to setup.py. and python setup.py install -c mingw32 in setup.py win32 usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'mingw32' Ie, you can't get there from here :-( Any ideas? I thought maybe this was a protection issue, as Python was installed from an administrator account, but msys is running in a nonpriv'd account. However, running msys as Administrator gave the same results. Thanks, David Mathog ma...@ca... Manager, Sequence Analysis Facility, Biology Division, Caltech |