diff --git a/docs/website/docs/getting-started.md b/docs/website/docs/getting-started.md index 412abfc630..9852a37624 100644 --- a/docs/website/docs/getting-started.md +++ b/docs/website/docs/getting-started.md @@ -21,13 +21,13 @@ Let's get started! Install dlt using `pip`: ```bash -pip3 install -U dlt +pip install -U dlt ``` Command above installs (or upgrades) library core, in example below we use `duckdb` as a destination so let's add it: ```bash -pip3 install "dlt[duckdb]" +pip install "dlt[duckdb]" ``` :::tip @@ -63,7 +63,7 @@ print(load_info) Save this python script with the name `quick_start_pipeline.py` and run the following command: ```bash -python3 quick_start_pipeline.py +python quick_start_pipeline.py ``` The output should look like: @@ -83,7 +83,7 @@ dlt pipeline quick_start show ``` **quick_start** is the name of the pipeline from the script above. If you do not have Streamlit installed yet do: ```bash -pip3 install streamlit +pip install streamlit ``` Now you should see the **users** table: @@ -240,7 +240,7 @@ print(load_info) Have some fun and run this snippet [with progress bar enabled](walkthroughs/run-a-pipeline.md#2-see-the-progress-during-loading) (we like **enlighten** the best, **tqdm** works as well): ```bash -pip3 install enlighten +pip install enlighten PROGRESS=enlighten python load_from_db.py ``` @@ -585,7 +585,7 @@ Just before load, the `weaviate_adapter` is used to tell `weaviate` destination To run this example you need additional dependencies: ```shell -pip3 install PyPDF2 "dlt[weaviate]" +pip install PyPDF2 "dlt[weaviate]" python pdf_to_weaviate.py ``` diff --git a/docs/website/docs/intro.md b/docs/website/docs/intro.md index 7051292f70..e3e6c386a9 100644 --- a/docs/website/docs/intro.md +++ b/docs/website/docs/intro.md @@ -15,7 +15,7 @@ import snippets from '!!raw-loader!./intro-snippets.py'; `dlt` is an open-source library that you can add to your Python scripts to load data from various and often messy data sources into well-structured, live datasets. Install it with: ```sh -pip3 install dlt +pip install dlt ``` There's no need to start any backends or containers. Import `dlt` in your Python script and write a simple pipeline like the one below: @@ -45,7 +45,7 @@ load_info = pipeline.run(data, table_name='player') Now copy this snippet to a file or a Notebook cell and run it. If you do not have it yet, install **duckdb** dependency (default `dlt` installation is really minimal): ```sh -pip3 install "dlt[duckdb]" +pip install "dlt[duckdb]" ``` How the script works?: It extracts data from a diff --git a/docs/website/docs/reference/installation.md b/docs/website/docs/reference/installation.md index c949a0deaa..3178b0fd1a 100644 --- a/docs/website/docs/reference/installation.md +++ b/docs/website/docs/reference/installation.md @@ -11,8 +11,8 @@ keywords: [installation, environment, pip install] ### Make sure you are using **Python 3.8-3.11** and have `pip` installed ```bash -python3 --version -pip3 --version +python --version +pip --version ``` ### If not, then please follow the instructions below to install it @@ -60,7 +60,7 @@ C:\> pip3 install -U pip Create a new virtual environment by making a `./env` directory to hold it. ```bash -python3 -m venv ./env +python -m venv ./env ``` Activate the virtual environment: @@ -75,7 +75,7 @@ source ./env/bin/activate Create a new virtual environment by making a `./env` directory to hold it. ```bash -python3 -m venv ./env +python -m venv ./env ``` Activate the virtual environment: @@ -90,7 +90,7 @@ source ./env/bin/activate Create a new virtual environment by making a `./env` directory to hold it. ```bat -C:\> python3 -m venv ./env +C:\> python -m venv ./env ``` Activate the virtual environment: @@ -107,5 +107,5 @@ C:\> .\env\Scripts\activate You can install `dlt` in your virtual environment by running: ```bash -pip3 install -U dlt +pip install -U dlt ``` diff --git a/docs/website/docs/walkthroughs/add-a-verified-source.md b/docs/website/docs/walkthroughs/add-a-verified-source.md index a9531e0b2d..ed3701d8b5 100644 --- a/docs/website/docs/walkthroughs/add-a-verified-source.md +++ b/docs/website/docs/walkthroughs/add-a-verified-source.md @@ -66,7 +66,7 @@ Verified source pipedrive was added to your project! * Read https://dlthub.com/docs/walkthroughs/create-a-pipeline for more information ``` -So make sure you install the requirements with `pip3 install -r requirements.txt`. When deploying to +So make sure you install the requirements with `pip install -r requirements.txt`. When deploying to an online orchestrator, you can install the requirements to it from requirements.txt in the ways supported by the orchestrator.