python – Requirement.txt file for Render while using conda environment

conda export and pip export don’t have the same format. If you want to export dependencies in pip format use:

pip freeze > requirements.txt

And then just use pip install -r requirements.txt

If you want to make a new env that will use requirements.txt file exported by conda, use:

conda list -e > requirements.txt

and then:

conda create --name <your-new-env> --file <requirements file>

But if you need to install dependencies in an existing env, use the:

conda install --file <requirements file>

As to why it didn’t recognize conda command, please update your question with more info, and I will edit my answer accordingly.

Read more here: Source link