[Tutor] pip install in a virtualenv *without* internet?
Albert-Jan Roskam
sjeik_appie at hotmail.com
Wed Aug 19 13:28:41 CEST 2015
> Date: Wed, 19 Aug 2015 02:27:41 -0700
> From: akleider at sonic.net
> To: tutor at 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
More information about the Tutor
mailing list