[Tutor] pip install in a virtualenv *without* internet?
Alex Kleider
akleider at sonic.net
Wed Aug 19 18:18:36 CEST 2015
On 2015-08-19 04:28, Albert-Jan Roskam wrote:
>> 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
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.
More information about the Tutor
mailing list