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
  • 28,461
  • 37
  • 122
  • 246

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
  • 5,913
  • 5
  • 24
  • 49