<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I'm certain I'm making beginner mistakes, but in my defense, I think I'm simply trying to follow the README.rst after downloading from<br><a href="https://pypi.python.org/pypi/zfec" target="_blank">https://pypi.python.org/pypi/zfec</a><br><br>Is there some pyutil install I'm supposed to do first?<br><br>OS: Debian 7 wheezy<br>uname -a: Linux Deb7x64Base 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux<br>gcc version 4.7.2 (Debian 4.7.2-5) <br>Python 2.7.3 (default, Jan  2 2013, 13:56:14) <br>[GCC 4.7.2] on linux2<br><br><br>I downloaded the file.<br><br><br>tar -xvf zfe*.tar.gz<br><br><br>cd zfe*<br><br><br>python ./setup.py install (as root, in this case) <br>  Apparent success - no warnings.<br><br><br>zfec<br>  Failure<br>Traceback (most recent call last):<br>  File "./zfec", line 6, in <module><br>    from pkg_resources import load_entry_point<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module><br>    working_set.require(__requires__)<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require<br>    needed = self.resolve(parse_requirements(requirements))<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve<br>    raise DistributionNotFound(req)<br>pkg_resources.DistributionNotFound: pyutil>=1.3.19<br><br>python ./setup.py test<br>  Now it downloads pyutil?  Did I miss a pre-install step in the README.rst somewhere?<br>  After the download(s), the test succeeds!<br>Ran 26 tests in 0.079s<br><br>OK<br><br><br>python ./setup.py install (as root)<br>  Again apparent success - additional eggs are moved around.<br><br>zfec --help<br>  Failure<br>Traceback (most recent call last):<br>  File "/usr/local/bin/zfec", line 6, in <module><br>    from pkg_resources import load_entry_point<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module><br>    working_set.require(__requires__)<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require<br>    needed = self.resolve(parse_requirements(requirements))<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve<br>    raise DistributionNotFound(req)<br>pkg_resources.DistributionNotFound: pyutil>=1.3.19<br><br><br>python ./setup.py trial<br>  now it downloads Twisted, zope-interface, etc.<br>  Succeeds!<br>Ran 26 tests in 0.098s<br><br>PASSED (successes=26)<br><br><br>Now I'm puzzled, and experimenting:<br>python ./setup.py build (as root)<br>  No warnings or errors<br><br>python ./setup.py install (as root)<br>  No warnings or errors<br><br>zfec --help<br>  same thing.<br><br>Forget root - let's try the self contained version:<br>python ./setup.py install --single-version-externally-managed --record=~/Selfcontained/zfec-install.log --prefix=~/Selfcontained   (as regular user)<br>  Apparently works, but one error:<br>writing list of installed files to '~/Selfcontained/zfec-install.log'<br>error: ~/Selfcontained/zfec-install.log: No such file or directory<br><br><br>cd ~/Selfcontained/bin<br>./zfec --help<br>Traceback (most recent call last):<br>  File "./zfec", line 6, in <module><br>    from pkg_resources import load_entry_point<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module><br>    working_set.require(__requires__)<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require<br>    needed = self.resolve(parse_requirements(requirements))<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve<br>    raise DistributionNotFound(req)<br>pkg_resources.DistributionNotFound: pyutil>=1.3.19<br><br>                                           </div></body>
</html>