On 2015-08-19 04:28, Albert-Jan Roskam wrote:
Date: Wed, 19 Aug 2015 02:27:41 -0700
From: aklei...@sonic.net
To: tutor@python.org
Subject: Re: [Tutor] pip install in a virtualenv *without* internet?
On 2015-08-18 19:32, Mike C. Fletcher wrote:
> To install without going out to the internet, you can use these
> arguments:
>
> pip install --no-index --find-links=/path/to/download/directory
> <packages>
For this to work, /path/to/download/directory would, I assume, first
have to be populated.
I further assume that running wget from within that directory might do
the trick.
..but, but wget requires an internet connection, which I do not have
(at least not a normal one).
But if you do have internet I think you could simply copy the
URL-with-sha1, then for each package do
wget <url>
regards,
Albert-Jan
I guess if you 'never' have an internet connection what I'm trying to do
won't work,
but I'm addressing a different use case: I have connectivity in some
environments
but would like to be able to do a pip install at times when there is no
connectivity.
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor