Skip to content

Commit 2b20a5f

Browse files
committed
virtual-env.ipynb: review fixes 1
1 parent ce59b70 commit 2b20a5f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: virtual-env.ipynb

+10-10
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,17 @@
4545
"<a id=\"preconfigured-conda-environments\"></a>\n",
4646
"## Preconfigured Conda environments\n",
4747
"\n",
48-
"Iguazio provides several preconfigured Conda environments that are included in the Jupyter pod:\n",
49-
"- **base**: This is the default base environment that includes the Conda binaries. It should not be used for development purposes.\n",
50-
"- **jupyter**: This environment incudes the JupyterLab server and all of its dependencies. It should not be used for development purposes.\n",
48+
"The platform provides several preconfigured Conda environments that are included in the Jupyter pod:\n",
49+
"- **base**: This is the default base environment that includes the Conda binaries. Do not use it for development purposes.\n",
50+
"- **jupyter**: This environment incudes the JupyterLab server and all of its dependencies. Do not use it for development purposes.\n",
5151
"- **mlrun-base**: This environment includes MLRun and all its dependencies preinstalled.\n",
5252
"- **mlrun-extended**: This environment includes all the packages from mlrun-base, as well as additional packages such as TensorFlow, PyTorch, and scikit-learn, which are required for the demo notebooks.\n",
5353
"\n",
54-
"While Iguazio provides several preconfigured Conda environments that are included in the Jupyter pod, it's important to note that any Conda installations to these environments are not persistent. They will be reset when the Jupyter service is restarted.\n",
54+
"While the platform provides several preconfigured Conda environments that are included in the Jupyter pod, it's important to note that any Conda installations to these environments are not persistent. They are reset when the Jupyter service is restarted.\n",
5555
"\n",
56-
"However, when these Conda environments are activated, the `PIP_PREFIX` and `PYTHONPATH` environment variables are automatically set to the data mount directory of the running user: `/User/.pythonlibs/<environment name>`. This means that PIP installations will persist even after restarting the Jupyter pod.\n",
56+
"However, when these Conda environments are activated, the `PIP_PREFIX` and `PYTHONPATH` environment variables are automatically set to the data mount directory of the running user: `/User/.pythonlibs/<environment name>`. This means that PIP installations persist even after restarting the Jupyter pod.\n",
5757
"\n",
58-
"Any new Conda environment that is created or cloned will be fully located in the data mount directory of the running user, specifically at `/User/.conda/<environment name>`. It is worth noting that these environments are fully persistent."
58+
"Any new Conda environment that is created or cloned will be fully located in the data mount directory of the running user, specifically at `/User/.conda/<environment name>`. These environments are fully persistent."
5959
]
6060
},
6161
{
@@ -93,7 +93,7 @@
9393
" ``` \n",
9494
" <br>\n",
9595
"\n",
96-
"4. <a id=\"conda-virt-env-setup-step-install-packages\"></a>Once you activate your environment, you can use either PIP or Conda to install the necessary Python packages.<br> To do this, replace `<package>` with the name of the package you want to install, and optionally add `==<version>` for PIP or `=<version>` for Conda. You can specify multiple packages in the same command.<br>\n",
96+
"4. <a id=\"conda-virt-env-setup-step-install-packages\"></a>Once you activate your environment, use either PIP or Conda to install the necessary Python packages.<br> To do this, replace `<package>` with the name of the package you want to install, and optionally add `==<version>` for PIP or `=<version>` for Conda. You can specify multiple packages in the same command.<br>\n",
9797
"\n",
9898
" Using PIP:\n",
9999
" ```sh\n",
@@ -104,7 +104,7 @@
104104
" conda install <package> [<package> ...]\n",
105105
" ```\n",
106106
" \n",
107-
" <br>For example, the following command uses PIP to install the SciPy, pandas version 1.4.4, and TensorFlow version 2.9.3 packages for the \"myenv\" environment that we activated in the previous step:\n",
107+
" <br>For example, the following command uses PIP to install the SciPy, pandas version 1.4.4, and TensorFlow version 2.9.3 packages for the \"myenv\" environment that you activated in the previous step:\n",
108108
" ```sh\n",
109109
" pip install scipy pandas==1.4.4 tensorflow==2.9.3\n",
110110
" ```\n",
@@ -122,14 +122,14 @@
122122
" conda env export -n myenv > /v3io/users/$V3IO_USERNAME/virtual_env/myenv.yaml\n",
123123
" ```\n",
124124
" \n",
125-
" <br>To shorten this command, you can use the `/User` data mount to the running-user directory (see [Platform Data Containers](data-ingestion-and-preparation/README.ipynb#platform-data-containers)):\n",
125+
" <br>To shorten this command, use the `/User` data mount to the running-user directory (see [Platform Data Containers](data-ingestion-and-preparation/README.ipynb#platform-data-containers)):\n",
126126
" ```sh\n",
127127
" conda env -n myenv export > /User/virtual_env/myenv.yaml\n",
128128
" ```\n",
129129
" <br>\n",
130130
"\n",
131131
"6. <a id=\"conda-virt-env-setup-step-refresh-ui\"></a>Refresh the JupyterLab UI to apply your changes.<br>\n",
132-
" After refreshing the UI, you should be able to see your new environment in the list of available kernels in JupyterLab."
132+
" After refreshing the UI, you should see your new environment in the list of available kernels in JupyterLab."
133133
]
134134
},
135135
{

0 commit comments

Comments
 (0)