Skip to content

Commit 8a7b901

Browse files
committed
update examples to use python3
1 parent 9d30c38 commit 8a7b901

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ file and then run `source ~/.bashrc` after saving the file.
1818
Next, install dependencies with [`pip`](https://packaging.python.org/):
1919

2020
```
21-
pip install -r requirements.txt
21+
python3 -m pip install -r requirements.txt
2222
```
2323

2424
Then run the script, passing in a `path` to a machine file, and a `license`
2525
key as arguments:
2626

2727
```bash
28-
python main.py --license 'A_LICENSE_KEY' \
28+
python3 main.py --license 'A_LICENSE_KEY' \
2929
--path /etc/keygen/machine.lic
3030
```
3131

3232
Or run one of the pre-defined examples:
3333

3434
```bash
35-
KEYGEN_PUBLIC_KEY='e8601e48b69383ba520245fd07971e983d06d22c4257cfd82304601479cee788' python main.py \
35+
KEYGEN_PUBLIC_KEY='e8601e48b69383ba520245fd07971e983d06d22c4257cfd82304601479cee788' python3 main.py \
3636
--fingerprint '198e9fe586114844f6a4eaca5069b41a7ed43fb5a2df84892b69826d64573e39' \
3737
--license 'B10760-1B177D-656D1F-C03298-9AF89E-V3' \
3838
--path examples/machine.lic

0 commit comments

Comments
 (0)