LoslegenKostenlos starten

Installing Python dependencies

In the following exercises, we will work through the set up process for making sure our Python environment has the proper library dependencies installed prior to executing a Python model script. In this pipeline we will create the requirements.txt file which houses the dependencies we need to install, install the dependencies, and do a quick sanity check to make sure everything is properly set up.

Diese Übung ist Teil des Kurses

<Kurs>Data Processing in Shell</Kurs>
Kurs ansehen

Interaktive praktische Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Add scikit-learn to the requirements.txt file
___ "scikit-learn" ___ requirements.txt

# Preview file content
cat requirements.txt
Code bearbeiten und ausführen