Description
This issue is a case for enabling conda/miniconda in the context of Python on Functions.
Investigative information
Customer wanted to use fbprophet library which does not get installed through pip in both Windows and Mac. It depends on pystan library whose compilation options are best handed by conda.
Repro steps
Create a new function, use HttpTrigger
in init.py
import fbprophet
Now enable virtual environment and do pip install fbprophet
Doesn't work.
Go out of virtual environment and use conda install -c conda-forge fbprophet
and it installs successfully. Conda knows the right kind of gcc flags needed to install pystan which is convenient for data scientists.
Either there must be some workaround to pip install fbprophet (even some compilation is fine) and a way to deploy such kind of installations.
or support conda environments.
Currently one customer is impacted, but fbprophet seems to be a library used for forecasting and is popular among certain customer domains.