1

I'm running on a disconnected network. I have downloaded a collection of wheels (.whl) and .tar.gz files to /mnt/dist/python. I want to install boto3 which is in the directory. All of the dependencies are also in the directory. However, when I tell pip to install either boto3 or boto-2.49.0-py2.py3-none-any.whl it tries to go to the network.

How do I tell it to install from /mnt/dist/python instead of going to the network?

vy32
  • 26,286
  • 33
  • 110
  • 218

1 Answers1

1

A slightly modified version of what @Marek Piotrowski commented worked out for me. I just move to the folder where the .whl file was stored and then typed

pip install --no-index --find-links . boto-2.49.0-py2.py3-none-any.whl
Miguel Trejo
  • 4,446
  • 3
  • 16
  • 36