[Distutils] Error: Couldn't install when corrupt/incomplete .tar.gz download

Jeff Kowalczyk jtk at yahoo.com
Wed Feb 20 22:33:14 CET 2008


I recently encountered setuptools errors for buildouts depending a
specific Zope package. I later discovered that the package's .tar.gz had
been only partially downloaded due a poor internet connection.

Could setuptools give a more helpful error on this condition? Thanks.

 Getting distribution for 'ZConfig'.
 error: None
 An error occured when trying to install ZConfig 2.5.1.Look above this message for any errors thatwere output by easy_install.
 While:
   Installing test.
   Getting distribution for 'ZConfig'.
 Error: Couldn't install: ZConfig 2.5.1


 Getting distribution for 'ZConfig>=2.4a5'.
 error: None
 An error occured when trying to install ZConfig 2.5.1.Look above this message for any errors thatwere output by easy_install.
 While:
   Installing.
   Getting section demo.
   Initializing section demo.
   Installing recipe zc.zope3recipes.
   Getting distribution for 'ZConfig>=2.4a5'.
 Error: Couldn't install: ZConfig 2.5.1


 $ find ~/.buildout -name 'ZConfig*'
 ~/.buildout/zope/Zope-2.10.5-final/lib/python/ZConfig
 ~/.buildout/downloads/ZConfig-2.5.1.tar.gz
 ~/.buildout/downloads/dist/ZConfig-2.5.1.tar.gz



More information about the Distutils-SIG mailing list