Conda version pip install -r requirements.txt --target ./lib

vineeth kanaparthi picture vineeth kanaparthi · Jun 26, 2018 · Viewed 125k times · Source

What is the conda version of this?

pip install -r requirements.txt --target ./lib

I've found these commands:

while read requirement; do conda install --yes $requirement; done < requirements.txt

But it doesn't tell how to specify --target ./lib

Answer

phd picture phd · Jun 26, 2018

You can run conda install --file requirements.txt instead of the loop, but there is no target directory in conda install. conda install installs a list of packages into a specified conda environment.