Parcourir la source

dnet: fix env usage in README

lunar-mining il y a 2 ans
Parent
commit
b5b8179648
1 fichiers modifiés avec 10 ajouts et 3 suppressions
  1. 10 3
      bin/dnet/README.md

+ 10 - 3
bin/dnet/README.md

@@ -20,19 +20,26 @@ for Python. Do so as follows:
 
 
 ```shell
 ```shell
 % python -m venv python-venv
 % python -m venv python-venv
-% python-env/bin/activate
+% source python-env/bin/activate
 ```
 ```
 
 
 Then install the requirements:
 Then install the requirements:
 
 
 ```shell
 ```shell
-% python-venv/bin/pip install -r requirements.txt
+% pip install -r requirements.txt
 ```
 ```
 
 
 Run dnet:
 Run dnet:
 
 
 ```shell
 ```shell
-% python-venv/bin/python main.py
+% python main.py
+```
+
+You will need to reactivate the venv in your current terminal session
+each time you use `dnet` as follows:
+
+```shell
+% source python-env/bin/activate
 ```
 ```
 
 
 ### Without a venv
 ### Without a venv