Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66489
| From | Roy Smith <roy@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: How to turn a package into something pip can install |
| Date | 2014-02-15 17:35 -0500 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <roy-E7A61F.17353715022014@news.panix.com> (permalink) |
| References | <roy-C807D1.20471014022014@news.panix.com> <mailman.6949.1392429645.18130.python-list@python.org> <roy-E13405.21260314022014@news.panix.com> <mailman.6998.1392473352.18130.python-list@python.org> <roy-8299B9.17014115022014@news.panix.com> |
In article <roy-8299B9.17014115022014@news.panix.com>, Roy Smith <roy@panix.com> wrote: > > > $ pip install --no-index --quiet --find-links packages metar==1.4.0 > > [snip] > > > ValueError: unknown url type: packages > > > > The path to your cache directory is incorrect. I suggest using > > absolute paths (eg. /home/user/packages) instead of relative paths, > > which is likely what caused this issue. > > No, that's not it. It doesn't work with an absolute path either. OK, I figured this out. The on-line docs (http://www.pip-installer.org/en/latest/reference/pip_wheel.html) say you can give --find-links a path, but it looks like it insists on it being a valid URL. If I prepend "file:" to the absolute path, it works. Maybe this is something which has changed in newer versions of pip? I've got 1.1 (and python 2.7.3). I'm pretty sure both of these are what came with Ubuntu Precise.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-14 20:47 -0500
Re: How to turn a package into something pip can install Ryan Gonzalez <rymg19@gmail.com> - 2014-02-14 20:00 -0600
Re: How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-14 21:26 -0500
Re: How to turn a package into something pip can install Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-02-15 15:09 +0100
Re: How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-15 17:01 -0500
Re: How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-15 17:35 -0500
Re: How to turn a package into something pip can install Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-02-16 13:18 +0100
Re: How to turn a package into something pip can install Chris Angelico <rosuav@gmail.com> - 2014-02-17 00:23 +1100
Re: How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-16 09:25 -0500
Re: How to turn a package into something pip can install Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-16 15:06 +0000
Re: How to turn a package into something pip can install MRAB <python@mrabarnett.plus.com> - 2014-02-16 15:20 +0000
Re: How to turn a package into something pip can install Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-16 15:47 +0000
csiph-web