Easy Install Way Fails #190

Closed
opened 2007-10-27 03:43:06 +00:00 by arch_o_median · 6 comments
arch_o_median commented 2007-10-27 03:43:06 +00:00
Owner

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
"""

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 """
tahoe-lafs added the
documentation
blocker
defect
0.6.1
labels 2007-10-27 03:43:06 +00:00
tahoe-lafs added this to the undecided milestone 2007-10-27 03:43:06 +00:00

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.

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.
zooko added
major
and removed
blocker
labels 2007-10-29 19:07:12 +00:00

archie: could you just right now run "easy_install -v allmydata-tahoe" and paste the complete output into this ticket? Thanks!

archie: could you just right now run "easy_install -v allmydata-tahoe" and paste the complete output into this ticket? Thanks!
zooko added this to the 0.7.0 milestone 2007-11-01 18:10:02 +00:00

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.

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.
arch_o_median commented 2007-11-07 05:37:45 +00:00
Author
Owner

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>

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>

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.

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.
zooko added the
fixed
label 2008-01-23 02:31:56 +00:00
zooko closed this issue 2008-01-23 02:31:56 +00:00

Milestone 0.7.1 deleted

Milestone 0.7.1 deleted
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#190
No description provided.