1

I want to install many packages on an offline computer, I download and install manually using the following code:

pip install XXXXX.whl --user

Although the code above does the offline installation, the package needs other packages so it tries to connect to the internet. I can see what package it is looking for. So, I will download manually and again install that. If there are a lot of packages required, it becomes overwhelming.

Any better solution? Can I know from the beginning that what packages have to be downloaded for installing my package?

Albert
  • 389
  • 3
  • 16
  • https://stackoverflow.com/questions/50170588/list-dependencies-of-python-wheel-file. The answer below the top one can help with an offline computer – Buckeye14Guy Sep 10 '19 at 19:00

1 Answers1

0

Do you use anaconda? Make a conda environment on your online pc and install all your packages you need.

Then check with

''' conda list '''

What packages you need.

PySeeker
  • 790
  • 5
  • 10