Reputation: 21
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
Reputation: 21
Following steps worked for me successfully -
Then things started working properly in a system where internet connection was not possible.
Upvotes: 0
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