In article <roy-8299b9.17014115022...@news.panix.com>,
 Roy Smith <r...@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

Reply via email to