简体   繁体   中英

Conda environment.yml without Conda

Currently, I am trying to dockerize a Django app that the last developer developed using conda.
And the required libs are listed in a file called environment.txt.

Is it possible to install the dependencies without having conda installed since I don't want to add conda in my app stack?

I've read that you cant just copy and paste the dependencies into a requirements.txt file and install it with pip because that would install a lot of conda dependencies together, is this right?

pip should have the same packages available that conda has, so using pip to install should work without any conda dependency. Some of the entries in the requirements.txt file may need to be installed separately, using this format:

sudo apt-get install python-matplotlib

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM