-2

What can I do to get the dependencies of that package without me installing the python package? For example, I want to get the dependencies of the requests library, but I don't have it installed

lemonc
  • 1
  • 2
  • 1
    What *specifically* does your idea of "*get*" entail here? Do you need a list of the dependencies of a given package? Do you want to download and install the dependencies themselves? – esqew May 07 '22 at 02:41
  • Because my other machine cannot be connected to the Internet, I need to download the relevant dependency package and install it on another machine, but I haven't found a good way to get the dependency list. – lemonc May 07 '22 at 02:45
  • Does this answer your question? https://stackoverflow.com/questions/11147667/is-there-a-way-to-list-pip-dependencies-requirements – esqew May 07 '22 at 02:52
  • johnnydep does not provide configuration items such as python version, system architecture, etc., which does not fully meet my needs. There are multiple versions of Python environments on my machine, but I am still very grateful for letting me know about johnnydep. Also installing the same environment on the machine solves the problem, but would go against my initial idea – lemonc May 07 '22 at 04:22
  • https://stackoverflow.com/search?q=%5Bpip%5D+offline – phd May 07 '22 at 09:45

0 Answers0