requirements.txtfile in the top level Cortex project directory (i.e. the directory which contains
pip.confinside the same directory as
requirements.txt, and add the following contents:
requirements.txtwhich are found in the private index.
requirements.txt. Here's an example for GitHub:
setup.pythat describes your project's modules. Here's an example directory structure:
requirements.txtwill have this form:
conda-packages.txtfile in the top level Cortex project directory (i.e. the directory which contains
conda-packages.txtfile follows the format of
conda list --export. Each line of
conda-packages.txtshould follow this pattern:
conda-packages.txtare provided, Cortex installs Conda packages in
conda-packages.txtfollowed by PyPI packages in
requirements.txt. Conda and Pip package managers install packages and dependencies independently. You may run into situations where Conda and pip package managers install different versions of the same package because they install and resolve dependencies independently from one another. To resolve package version conflicts, it may be in your best interest to specify their exact versions in
3.6.9. Updating Python to a different version is possible with Conda, but there are no guarantees that Cortex's web server will continue functioning correctly. If there's a change in Python's version, the necessary core packages for the web server will be reinstalled. If you are using a custom base image, any other Python packages that are built in to the image won't be accessible at runtime.