Opened 17 years ago
Last modified 15 years ago
#222 assigned defect
easy_install fails on Ubuntu 6.06
Reported by: | jpwasp@… | Owned by: | jruigrok |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | General | Version: | 0.4.4 |
Keywords: | Cc: |
Description
sudo easy_install Genshi Password: Searching for Genshi Reading http://www.python.org/pypi/Genshi/ Reading http://genshi.edgewall.org/ Reading http://genshi.edgewall.org/wiki/Download Best match: Genshi 0.4.4-py2.5-macosx10.4 Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.4.4-py2.5-macosx10.4.zip Processing Genshi-0.4.4-py2.5-macosx10.4.zip error: Couldn't find a setup script in /tmp/easy_install-w_FZpJ/Genshi-0.4.4-py2.5-macosx10.4.zip
Of course, I am running Ubuntu 6.06 on Intel x86, and not macosx. My Python version is 2.4.3, not 2.5.
Change History (5)
comment:1 Changed 17 years ago by jpwasp@…
comment:2 Changed 17 years ago by cmlenz
I don't know why setuptools would choose a file with the "macosx10.4" platform specifier for a Linux box. Weird.
comment:3 Changed 17 years ago by cmlenz
- Milestone 0.5 deleted
comment:4 Changed 15 years ago by jruigrok
- Owner changed from cmlenz to jruigrok
- Status changed from new to assigned
Is this still a problem on recent Linux systems with up to date easy_install? I cannot replicate this at all.
comment:5 Changed 15 years ago by Jason Winnebeck <jpwasp@…>
I happen to be on Ubuntu 8.04 now, which has Python 2.5. To be honest, I'm not sure if I used easy_install or compiled the source from SVN. I'm pretty comfortable with SVN+setup.py from all of the Trac plugins that I've installed that I could see me using either solution.
Does this help anything?
$ sudo easy_install --dry-run genshi [sudo] password for jpwasp: Searching for genshi Best match: Genshi 0.5.1 Processing Genshi-0.5.1-py2.5-linux-i686.egg Genshi 0.5.1 is already the active version in easy-install.pth Using /usr/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-i686.egg Processing dependencies for genshi Finished processing dependencies for genshi
How does easy_install find the packages to get? I looked at the version of the wiki when I filed this ticket, and I noticed compared to the download page that exists now there was no linux eggs. Well, it's easier to point to it -- wiki:Download@35. It's interesting to note the commit comment, which mentions OSX download: "Fix Python version on OS X download (#188)"
Workaround:
svn co http://svn.edgewall.org/repos/genshi/tags/0.4.4/ genshi cd genshi/ sudo ./setup.py install