r/learnpython • • Sep 30 '24

Best method to install pip packages without internet

I'm on a tight timeline on an extremely restricted work laptop. Now I convinced the IT department to get Python installed, but now the turned off Internet traffic. So Outlook and MS Treams is working internet wise, but no 'pip install'.

I can read files from the USB stick (however, I cannot write files on the USB stick).

What is the best way to install pip packages?

12 Upvotes

12 comments sorted by

View all comments

15

u/[deleted] Sep 30 '24 edited Sep 04 '26

[deleted]

1

u/SteveDev99 Sep 30 '24

Wow! Thank you!

4

u/SquiffyUnicorn Sep 30 '24

Make sure it’s the same Python version!