Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66527
| References | (1 earlier) <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> <roy-E7A61F.17353715022014@news.panix.com> |
|---|---|
| Date | 2014-02-16 13:18 +0100 |
| Subject | Re: How to turn a package into something pip can install |
| From | Chris “Kwpolska” Warrick <kwpolska@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.7050.1392553101.18130.python-list@python.org> (permalink) |
On Sat, Feb 15, 2014 at 11:35 PM, Roy Smith <roy@panix.com> wrote: > 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. > -- > https://mail.python.org/mailman/listinfo/python-list It’s heavily outdated, and that IS the cause of your problem. pip 1.5 accepts such paths just fine. Please upgrade your pip. -- Chris “Kwpolska” Warrick <http://kwpolska.tk> PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense
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