[Distutils] Cannot install pygtk with easy_install

james.mills at au.pwc.com james.mills at au.pwc.com
Fri Aug 24 02:49:04 CEST 2007


Hi all,

I'm using setuptools-0.6c6 and I run into a problem trying to install
pygtk.
I am using Python-2.5 on Windows XP

D:\>easy_install pygtk
Searching for pygtk
Reading http://cheeseshop.python.org/pypi/pygtk/
Couldn't find index page for 'pygtk' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://cheeseshop.python.org/pypi/
Reading http://cheeseshop.python.org/pypi/pyGTK/2.0.0
Reading http://www.daa.com.au/~james/software/pygtk/
Reading http://cheeseshop.python.org/pypi/PyGTK/2.10.4
Reading http://www.pygtk.org/
Best match: pygtk 2.10.4
Downloading
ftp://ftp.gnome.org/pub/GNOME/sources/pygtk/2.10/pygtk-2.10.4.tar.gz

Traceback (most recent call last):
  File "C:\Python25\Scripts\easy_install-script.py", line 8, in <module>
    load_entry_point('setuptools==0.6c6', 'console_scripts',
'easy_install')()
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\comm
and\easy_install.py", line 1670, in main
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\comm
and\easy_install.py", line 1659, in with_ei_usage
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\comm
and\easy_install.py", line 1674, in <lambda>
  File "C:\Python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\comm
and\easy_install.py", line 211, in run
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\comm
and\easy_install.py", line 433, in easy_install
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\pack
age_index.py", line 463, in fetch_distribution
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\pack
age_index.py", line 449, in find
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\pack
age_index.py", line 392, in download
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\pack
age_index.py", line 612, in _download_url
  File "C:\Python25\lib\site-packages\setuptools-0.6
c6-py2.5.egg\setuptools\pack
age_index.py", line 622, in _attempt_download
  File "C:\Python25\lib\rfc822.py", line 384, in __getitem__
    return self.dict[name.lower()]
KeyError: 'content-type'

D:\>

cheers
james

James Mills

PricewaterhouseCoopers Australia
Office: +61 (7) 3257 8847
Mobile: 0430 165 904
Fax: +61 (7) 3023 0938
james.mills at au.pwc.com
http://www.pwc.com/au

Please consider the environment before printing this email
_________________________________________________________________
Please consider the environment before printing this email.

PricewaterhouseCoopers is delighted to be recognised by our clients as the
Professional Services Market Leader and Best Accounting Firm (Revenue over
$250m) in the BRW-St.George Client Choice Awards 2007.
http://www.pwc.com/au/awards

PwC's latest news, insights and offerings
http://www.pwc.com/au

This communication is intended only for the person or entity to which it is
addressed and may contain confidential and/or privileged material.  Any
review, retransmission, dissemination or other use of, or taking any action
in reliance on, this communication by persons or entities other than the
intended recipient is prohibited.  If you received this in error, please
inform PricewaterhouseCoopers ("PwC") immediately by return email and
delete the material including all copies from any computer.

Liability limited by a scheme approved under Professional Standards
Legislation.

PwC makes no express or implied representation or warranty that this
electronic communication or any attachment is free from computer viruses or
other defects or conditions which could damage or interfere with the
recipients data, hardware or software.  This communication and any
attachment may have been modified or otherwise interfered with in the
course of transmission.



More information about the Distutils-SIG mailing list