Skip to content

Commit

Permalink
fixing path to activate script of venv; removing outdated references
Browse files Browse the repository at this point in the history
  • Loading branch information
zsszaboo committed Nov 26, 2024
1 parent 3722814 commit 9a937b0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion e2e-tutorials/batch_state_identifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The following commands show how to set up such an environment.
# via venv assuming Python 3.11.9 is installed on path {PYTHON_HOME_3.11.9}
{PYTHON_HOME_3.11.9}/bin/python -m venv {ENV_DIR}/state_identifier
{ENV_DIR}/state_identifier/Scripts/activate
{ENV_DIR}/state_identifier/bin/activate # on Windows, 'activate.bat' can be found in folder 'Scripts' instead of 'bin'
# Once the environment is created and activated you need to register as an ipykernel.
pip install ipykernel
Expand Down
4 changes: 2 additions & 2 deletions e2e-tutorials/image_classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ We assume that Jupyter Lab or another notebook editor is already installed on yo
We recommend that you run the notebooks using the `image_classification` ipython kernel from the `image_classification` Python environment.

The following commands show how to set up such an environment on Linux.
If you are using Windows, please refer [WINDOWS_SETUP.md](docs/WINDOWS_SETUP.md).
If you are using Windows, please find the minor differences in the comments.

You can choose your preferred Python environment manager to create the separated Python environment.
We show examples for `venv`.

```bash
# via venv assuming Python 3.11.9 is installed on path {PYTHON_HOME_3.11.9}
{PYTHON_HOME_3.11.9}/bin/python -m venv {ENV_DIR}/image_classification
{ENV_DIR}/image_classification/Scripts/activate
{ENV_DIR}/image_classification/bin/activate # on Windows, 'activate.bat' can be found in folder 'Scripts' instead of 'bin'

```

Expand Down
4 changes: 2 additions & 2 deletions e2e-tutorials/object_detection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ We assume that Jupyter Lab or another notebook editor is already installed on yo
We recommend that you run the notebooks using the `object_detection` ipython kernel from the `object_detection` Python environment.

The following commands show how to set up such an environment on Linux.
If you are using Windows, please refer [WINDOWS_SETUP.md](docs/WINDOWS_SETUP.md).
If you are using Windows, please find the minor differences in the comments.

You can choose your preferred Python environment manager to create the separated Python environment.
We show examples for `venv`.

```bash
# via venv assuming Python 3.11.9 is installed on path {PYTHON_HOME_3.11.9}
{PYTHON_HOME_3.11.9}/bin/python -m venv {ENV_DIR}/object_detection
{ENV_DIR}/object_detection/Scripts/activate
{ENV_DIR}/object_detection/bin/activate # on Windows, 'activate.bat' can be found in folder 'Scripts' instead of 'bin'

```

Expand Down
4 changes: 2 additions & 2 deletions e2e-tutorials/state_identifier/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ _Hint: This readme is available both as HTML and Markdown. The HTML version you
We assume that Jupyter Notebooks or Jupyter Lab is already installed on your machine.
It is recommended that notebooks are run using the `state_identifier` ipython kernel from the `state_identifier` Python environment.
The following commands show how to set up such an environment on Linux.
If you are using Windows, please refer [WINDOWS_SETUP.md](docs/WINDOWS_SETUP.md).
If you are using Windows, please find the minor differences in the comments.

You can choose your preferred Python environment manager to create the separated Python environment.

Expand All @@ -33,7 +33,7 @@ We show examples for `venv`.
```bash
# via venv assuming Python 3.11.9 is installed on path {PYTHON_HOME_3.11.9}
{PYTHON_HOME_3.11.9}/bin/python -m venv {ENV_DIR}/state_identifier
{ENV_DIR}/state_identifier/Scripts/activate
{ENV_DIR}/state_identifier/bin/activate # on Windows, 'activate.bat' can be found in folder 'Scripts' instead of 'bin'
```

Once the environment is created and activated you need to install required packages including AI SDK and ipykernel.
Expand Down

0 comments on commit 9a937b0

Please sign in to comment.