You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* development_setup.md update
development_setup.md updated to use install_requirements.sh.
See microsoft#158:
> Use conda rather than pip packages when possible (as recommended in AML docs).
> Dev environment is hence also constrained to conda (no more pip install -r requirements.txt).
* Content of install_requirements.sh deleted
* build_train_pipeline.py filename fixed
* build_train_pipeline.py filename fixed
Copy file name to clipboardExpand all lines: docs/development_setup.md
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,31 +10,24 @@ In order to configure the project locally, create a copy of `.env.example` in th
10
10
11
11
[Install the Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli). The Azure CLI will be used to log you in interactively.
12
12
13
-
Create a virtual environment using [venv](https://docs.python.org/3/library/venv.html), [conda](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html) or [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv).
Here is an example for setting up and activating a `venv`environment with Python 3:
15
+
Install the required Python modules. [`install_requirements.sh`](https://github.com/microsoft/MLOpsPython/blob/master/environment_setup/install_requirements.sh) creates and activates a new conda environment with required Python modules.
16
16
17
17
```
18
-
python3 -mvenv .venv
19
-
source .venv/bin/activate
20
-
```
21
-
22
-
Install the required Python modules in your virtual environment.
23
-
24
-
```
25
-
pip install -r environment_setup/requirements.txt
18
+
. environment_setup/install_requirements.sh
26
19
```
27
20
28
21
### Running local code
29
22
30
23
To run your local ML pipeline code on Azure ML, run a command such as the following (in bash, all on one line):
0 commit comments