Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robzor92 committed Oct 1, 2024
1 parent cea212d commit 945ab4c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions docs/user_guides/projects/python/custom_commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ Some Python libraries require the installation of some OS-Level libraries. In so

In this guide, you will learn how to run custom bash commands that can be used to add more complex configuration to your environment e.g., installing OS-Level packages or configuring an oracle database.

## Prerequisites

In order to install a custom dependency one of the base environments must first be cloned, follow [this guide](python_env_clone.md) for that.

## Running bash commands
In this section, we will see how you can run custom bash commands in Hopsworks to configure your Python environment.

Expand Down
2 changes: 1 addition & 1 deletion docs/user_guides/projects/python/environment_history.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Python Environment History
# Environment History
Hopsworks comes with several prepackaged Python environments that contain libraries for data engineering, machine learning, and more general data science use-cases. Hopsworks also offers the ability to install additional packages from various sources, such as using the pip or conda package managers and public or private git repository.

The Python virtual environment is shared by different members of the project. When a member of the project introduces a change to the environment i.e., installs/uninstalls a library, a new environment is created and it becomes a defacto environment for everyone in the project. It is therefore important to track how the environment has been changing over time i.e., what libraries were installed, uninstalled, upgraded, or downgraded when the environment was created and who introduced the changes.
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guides/projects/python/python_env_clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The environment can now be cloned by clicking `Clone env` and entering a name an
</figure>
</p>

## Step 3: Created environment
## Step 3: Environment is now ready

<p align="center">
<figure>
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guides/projects/python/python_env_export.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Under the `Project settings` section you can find the `Python environment` setti

## Step 2: Select a CUSTOM environment

Select the environment that you have previously cloned and want to export.
Select the environment that you have previously cloned and want to export. Only a `CUSTOM` environment can be exported.

## Step 3: Click Export env

Expand Down
6 changes: 5 additions & 1 deletion docs/user_guides/projects/python/python_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Introduction

Hopsworks comes with several prepackaged Python environments that contain libraries for data engineering, machine learning, and more general data science use-cases. Hopsworks also offers the ability to install additional packages from various sources, such as using the pip or conda package managers and public or private git repository. In order to install a custom dependency one of the environments must first be cloned, follow [this guide](python_env_clone.md) for that.
Hopsworks comes with several prepackaged Python environments that contain libraries for data engineering, machine learning, and more general data science use-cases. Hopsworks also offers the ability to install additional packages from various sources, such as using the pip or conda package managers and public or private git repository.

In this guide, you will learn how to install Python packages using these different options.

Expand All @@ -16,6 +16,10 @@ In this guide, you will learn how to install Python packages using these differe
If your libraries require installing some extra OS-Level packages, refer to the guide custom commands guide on how to install OS-Level packages.


## Prerequisites

In order to install a custom dependency one of the base environments must first be cloned, follow [this guide](python_env_clone.md) for that.

### Step 1: Go to environments page

Under the `Project settings` section select the `Python environment` setting.
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ nav:
- Install Library: user_guides/projects/python/python_install.md
- Export environment: user_guides/projects/python/python_env_export.md
- Custom Commands: user_guides/projects/python/custom_commands.md
- Python Environment History: user_guides/projects/python/environment_history.md
- Environment History: user_guides/projects/python/environment_history.md
- Jupyter:
- Run Python Notebook: user_guides/projects/jupyter/python_notebook.md
- Run PySpark Notebook: user_guides/projects/jupyter/spark_notebook.md
Expand Down

0 comments on commit 945ab4c

Please sign in to comment.