Skip to content

Commit

Permalink
Change python to python3 in the readme update_data directions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Mar 16, 2024
1 parent 6fe4c78 commit 71169ed
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ The main data update process in [update_data.py](https://github.com/scribe-org/S
Running [update_data.py](https://github.com/scribe-org/Scribe-Data/blob/main/src/scribe_data/extract_transform/update_data.py) is done via the following CLI command:

```bash
python src/scribe_data/extract_transform/update_data.py
python3 src/scribe_data/extract_transform/update_data.py
```

The ultimate goal is that this repository will house language packs that are periodically updated with new [Wikidata](https://www.wikidata.org/) lexicographical data and data from other sources. These packs would then be available to download by users of Scribe applications.
Expand Down Expand Up @@ -126,24 +126,26 @@ git remote add upstream https://github.com/scribe-org/Scribe-Data.git

2. Use [Python venv](https://docs.python.org/3/library/venv.html) to create the local development environment within your Scribe-Data directory:

- On Unix or MacOS, run:
- On Unix or MacOS, run:

```bash
python3 -m venv venv # make an environment named venv
source venv/bin/activate # activate the environment
```

```bash
python3 -m venv venv # make an environment named venv
source venv/bin/activate # activate the environment
```
- On Windows (using Command Prompt), run:

```bash
python -m venv venv
venv\Scripts\activate.bat
```
After activating the virtual environment, install the required dependencies by running:

```bash
pip install --upgrade pip # make sure that pip is at the latest version
pip install -r requirements.txt # install dependencies
```

```bash
python -m venv venv
venv\Scripts\activate.bat
```

After activating the virtual environment, install the required dependencies by running:

```bash
pip install --upgrade pip # make sure that pip is at the latest version
pip install -r requirements.txt # install dependencies
```

> [!NOTE]
> Feel free to contact the team in the [Data room on Matrix](https://matrix.to/#/#ScribeData:matrix.org) if you're having problems getting your environment setup!
Expand Down

0 comments on commit 71169ed

Please sign in to comment.