0

When trying to pip install a python module that has certain dependencies not included in your current python environment, the pip install will fail. Sometimes after fixing that dependency by installing the dependency then re-attempting to pip install the original module, you will encounter another dependency that is required for the original module. This is the case with the python module fbprophet, when pip installing it you will usually get 3+ versions of this:

  1. pip install fbprophet
  2. [encounter error due to missing dependency] (pystan, lunarcalendar, etc.)
  3. pip install missing-dependency

This is a very slow process, is there a way to provide a requirements.txt for a python file & immediately know if you are missing dependencies in your file & list all of the missing modules?

TIA.

enzed01
  • 53
  • 8
  • Does this answer your question? [tell pip to install the dependencies of packages listed in a requirement file](https://stackoverflow.com/questions/10333814/tell-pip-to-install-the-dependencies-of-packages-listed-in-a-requirement-file) – JonSG Jun 22 '21 at 15:42

0 Answers0