-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add README file for example downward experiment.
- Loading branch information
1 parent
cbee020
commit b38e255
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Setup instructions | ||
|
||
Create a [virtual environment](https://docs.python.org/3/tutorial/venv.html), | ||
activate it and install all dependencies: | ||
|
||
sudo apt install python3 python3-venv | ||
python3 -m venv --prompt myvenv .venv | ||
source .venv/bin/activate | ||
pip install --upgrade pip wheel | ||
pip install -r requirements.txt | ||
|
||
If the last step fails, try regenerating a new `requirements.txt` from | ||
`requirements.in` for your Python version: | ||
|
||
source .venv/bin/activate | ||
pip install pip-tools | ||
pip-compile | ||
pip install -r requirements.txt | ||
|
||
Please note that before running an experiment script you need to | ||
activate the virtual environment with | ||
|
||
source .venv/bin/activate |