Sanoopkrishnan Sunil
Sanoopkrishnan Sunil

Reputation: 21

distribution package for pyautogui and openpyxl

I want to install pyautogui, openpyxl with Python in a machine which does not connect to internet. Is there a distribution package of python which can do this?

Upvotes: 1

Views: 536

Answers (2)

Sanoopkrishnan Sunil
Sanoopkrishnan Sunil

Reputation: 21

Following steps worked for me successfully -

  1. Dowload Anconda 3 package in a system where internet connection is there.
  2. Download pyautogui.tar.bz2 using "pip download pytuatogui".
  3. Copy both to a system where internet connection is not there.
  4. Install Anacoda 3 manually.
  5. Install the pyuaotgui.tar.bz2 using command "conda install /path/to/local/file/.tar.bz2

Then things started working properly in a system where internet connection was not possible.

Upvotes: 0

Adrian W
Adrian W

Reputation: 5036

You can use pip for that. However, you need a computer with internet connection (and python installed) to download the required packages first:

On the computer with internet connection, open a command line and say

pip download pyautogui openpyxl 

Copy all downloaded files to the target machine, then install with

pip install ...

Where ... means all downloaded files. It is important to put them all in one line. So, all dependencies can be resolved (otherwise you need to take care to install the dependencies first).

Upvotes: 1

Related Questions