top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to install PIL without internet access

+2 votes
633 views

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

posted Feb 26, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

You can install from a downloaded file, e.g.:

pip install ./downloads/SomePackage-1.0.4.tar.gz
answer Feb 26, 2015 by Honey
Similar Questions
+1 vote

I just upgraded my Mac Mini to Yosemite and have never dabbled in Python on this OS. I see it has Python 2.7.6 installed.

When I do something like

from PIL import ImageFont, ImageDraw

it tells me that it cannot find PIL, How do I install this on Yosemite?

Any suggestions?

+1 vote

I want to install path.py in my Python 3.4 environment on a Centos 5 box. My /usr/local/bin/ contains:

easy_install-3.4 
python3.4  
etc. 

We are behind a proxy server and I tried this:

# /usr/local/bin/easy_install-3.4 path.py 

Searching for path.py 
Reading https://pypi.python.org/simple/path.py/ 
Download error on https://pypi.python.org/simple/path.py/: hostname '172.29.68.1  
' doesn't match either of 'www.python.org', 'python.org', 'pypi.python.org',  
'docs.python.org', 'testpypi.python.org', 'bugs.python.org', 'wiki.python.org',  
'hg.python.org', 'mail.python.org', 'packaging.python.org', 'pythonhosted.org',  
'www.pythonhosted.org', 'test.pythonhosted.org', 'us.pycon.org', 'id.python.org' --  
Some packages may not be found! 

Couldn't find index page for 'path.py' (maybe misspelled?), Am I best to use pip or easy_install? also if easy_install, how can I fix the above error?

+1 vote

I have running centos 6 server in my head quarters and branch offices. I need to access file server files in both location using VPN. How to setup vpn server in both location and how to access it.

Could any one help me.

+1 vote

How to install openvpn on centos 5.7 32 bit and client will be used windows xp, 7, 8 and ubuntu desktop.
Please help me any one on this.

...