Hey Matt, Thanks so much for your reply. It works now! I am stuck on another probelm now. I tried to install python-devel in cygwin, but it seems that python-devel can not find where the python is and claims that a python is needed. -------------------------------------------------------- $ rpm -Uvh python-devel-2.3.4-1.m68kmint.rpm error: Failed dependencies: python = 2.3.4 is needed by python-devel-2.3.4-1 --------------------------------------------------------- But acutally python 2.3.4 has been automatically installed at the same time when cygwin is installed. Have you met this problem before? I am looking forward to hearing from you. Many thanks again!! Regards. Hui ----- Original Message ----- From: Matt Good <matt@matt-good.net> Date: Wednesday, March 28, 2007 3:22 pm Subject: Re: [Distutils] help please To: Hui Zhang <Hui.Zhang@ucd.ie> Cc: distutils-sig@python.org
On Wed, 2007-03-28 at 13:46 +0100, Hui Zhang wrote:
Dear Phillip,
Hello. I am a phd student from Unviersity College Dublin,Ireland. I have a problem when I tried to install python with setuptools egg files in cygwin. I did as the webpage(http://cheeseshop.python.org/pypi/setuptools) says. However the system said: -----------------------------------------------------------------
$sh setuptools-0.6c5-py2.4.egg [[: not found setuptools-0.6c5-py2.4egg is not the correct name for this egg file.> Please rename it back to setuptools-0.6c5-py2.4 egg and try again.
-----------------------------------------------------------------
This version of the egg actually requires bash and is not quite compatible with sh. This is fixed in SVN, but for now run it with bashinstead.
-- Matt Good