Installing PIL without internet access

MRAB python at mrabarnett.plus.com
Thu Feb 26 11:57:29 EST 2015


On 2015-02-26 15:23, Larry Martell wrote:
> I have a host that has no access to the internet and I need to install
> PIL on it. I have an identical host that is on the internet and I have
> installed it there (with pip). Is there a way I can copy files from
> the connected host to a flash drive and then copy them to the
> unconnected host and have PIL working there? Which files would I copy
> for that?
>
> This is on CentOS 6.5, python 2.7
>
Have a look here:

https://pip.pypa.io/en/latest/reference/pip_install.html#pip-install-options

It says that you can install from a downloaded file, e.g.:

pip install ./downloads/SomePackage-1.0.4.tar.gz




More information about the Python-list mailing list