-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate supporting Conda #256
Comments
That doesn't matter as this is more related to "how to support libraries that get installed the right way in conda vs pip install" |
I've tried it on my environment, and it seems that I could deploy it. My environment is,
My requirements.txt is as follows.
Hope it helps you! |
@priyaananthasankar, is this still an issue? We're doing preliminary investigations on how to add Conda support (\cc @asavaritayal) to broaden support for package installation. Were you able to use the suggestion in the thread to get a workaround? |
@maiqbal11 : Yes this is still an issue. |
Hey, this is still an issue for me, Could anyone give any kind of solution for this? |
I'm also having the same issue while installing fbprophet. It's working fine with the same requirement.txt file in the local but giving error pystan is not found. I'm using docker to build the dependencies for Consumption Plan. |
Are there updates on this issue? If external system dependencies are required for python environment, ability to support conda or a way of hooking into its environment prior to running pip is important. pip distributions are broken for some Windows package installations and vice-versa. Devs and Data Scientists will sometimes use Anaconda/conda. Still on the roadmap for Azure Artifacts. |
Closing this in favor for an open discussion to get more community inputs - #974 |
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.
The text was updated successfully, but these errors were encountered: