Skip to content

Commit d998e1e

Browse files
author
cclauss
authored
README.md: Specify Python 2 in run commands
On modern Linux distributions, __python__ is Python 3.
1 parent deb457d commit d998e1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,21 @@ How to use it
7777
```
7878
git clone https://github.com/jofpin/trape.git
7979
cd trape
80-
python trape.py -h
80+
python2 trape.py -h
8181
```
8282
If it does not work, try to install all the libraries that are located in the file **requirements.txt**
8383
```
84-
pip install -r requirements.txt
84+
python2 -m pip install -r requirements.txt
8585
```
8686

8787
Example of execution
8888
```
89-
Example: python trape.py --url http://example.com --port 8080
89+
Example: python2 trape.py --url http://example.com --port 8080
9090
```
9191

9292
**HELP AND OPTIONS**
9393
```
94-
user:~$ python trape.py --help
94+
user:~$ python2 trape.py --help
9595
usage: python trape.py -u <> -p <> [-h] [-v] [-u URL] [-p PORT]
9696
[-ak ACCESSKEY] [-l LOCAL]
9797
[--update] [-n] [-ic INJC]

0 commit comments

Comments
 (0)