#190 closed defect (fixed)
Easy Install Way Fails
Reported by: | arch_o_median | Owned by: | arch_o_median |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | documentation | Version: | 0.6.1 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description
After installing via the "easy_install way", I am unable to locate the "tahoe" executable.
""" 0 arc@coelacanth /home/arc> sudo easy_install allmydata-tahoe Searching for allmydata-tahoe Best match: allmydata-tahoe 0.4.0-223 allmydata-tahoe 0.4.0-223 is already the active version in easy-install.pth
Using /usr/lib/python2.5/site-packages Processing dependencies for allmydata-tahoe 0 arc@coelacanth /home/arc> type tahoe bash: type: tahoe: not found """
Change History (8)
comment:1 Changed at 2007-10-29T19:07:12Z by zooko
- Milestone changed from undecided to 0.6.2
- Priority changed from blocker to major
comment:2 Changed at 2007-11-01T18:03:04Z by zooko
- Owner changed from somebody to arch_o_median
archie: could you just right now run "easy_install -v allmydata-tahoe" and paste the complete output into this ticket? Thanks!
comment:3 Changed at 2007-11-01T18:10:02Z by zooko
- Milestone changed from 0.6.2 to 0.7.0
comment:4 Changed at 2007-11-07T05:34:30Z by zooko
I wonder if you were off-net at the time that you did it earlier and it stayed with v0.4.0.
That would explain it.
You were at the Hack Fest.
comment:5 Changed at 2007-11-07T05:37:45Z by arch_o_median
- Milestone changed from 0.7.0 to 0.7.1
I think I was online at the time. Here's some new diagnostics.
sudo easy_install -v allmydata-tahoe Searching for allmydata-tahoe Best match: allmydata-tahoe 0.6.1-31 Processing allmydata_tahoe-0.6.1_31-py2.5-linux-i686.egg allmydata-tahoe 0.6.1-31 is already the active version in easy-install.pth Installing tahoe script to /usr/bin
Using /usr/lib/python2.5/site-packages/allmydata_tahoe-0.6.1_31-py2.5-linux-i686.egg Not found: misc/dependencies/simplejson-1.7.3.tar.gz Not found: misc/dependencies/foolscap-0.1.7.tar.gz Not found: misc/dependencies/Nevow-0.9.18.tar.gz Not found: misc/dependencies/zfec-1.1.tar.gz Not found: misc/dependencies/zope.interface-3.4.0.tar.gz Processing dependencies for allmydata-tahoe 0 arc@coelacanth /mnt/cdrom>
comment:6 Changed at 2007-12-21T17:50:29Z by zooko
A-ha! easy_install does not upgrade by default -- if it finds a version of the package already present then it is satisfied. If you request a specific version, e.g.:
easy_install 'allmydata-tahoe > 0.6'
Or if you give it the "upgrade to latest" flag:
easy_install -U allmydata-tahoe
Then it will not be satisfied with the current package if that one is too old.
comment:7 Changed at 2008-01-23T02:31:56Z by zooko
- Resolution set to fixed
- Status changed from new to closed
That excerpt shows that when you ran "easy_install allmydata-tahoe", easy_install searched around and decided that the version of tahoe -- v0.4.0 -- that was already installed on your computer was good enough.
I would have thought that it would have looked at http://pypi.python.org/pypi/allmydata-tahoe
and chosen to install a newer version (v0.6.1) from there!
So this needs to be investigated/reproduced.