Warning after I run the command "conda env create -f environment.yml"

QMarkLi picture QMarkLi · Oct 24, 2019 · Viewed 8.5k times · Source

After I run the conda env create -f environment.yml in Conda, I receive the following warning:

Warning : you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies...

What does this mean and what should I be doing instead?

Answer

ArunJose_Intel picture ArunJose_Intel · Oct 24, 2019

In your environment yml file under list of the packages you install through conda you must also add pip as a package to be installed. This installs the pip, and so you pip packages can be installed using this pip.

Previously pip was shipped with conda but now we have to explicitly install pip when using conda