Skip to content

Commit

Permalink
Adds notes about using a virtualenv to the readme, closes #83 and #82
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-j-h committed Jul 17, 2018
1 parent 95efcb4 commit 6c7f547
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,23 @@ If you want to contribute, see the [contributing section](#contributing) for mor
apt-get install build-essential libboost-python-dev libexpat1-dev zlib1g-dev libbz2-dev libspatialindex-dev
```

- Use a virtualenv for installing this project locally

```bash
python3 -m venv .env
. .env/bin/activate
```

- Get the PyTorch wheel for your environment from http://pytorch.org. For example for Python 3.5 and CUDA 8

```bash
pip install torch
python3 -m pip install torch
```

- Install remaining dependencies

```bash
pip install -r deps/requirements-lock.txt
python3 -m pip install -r deps/requirements-lock.txt
```


Expand Down

0 comments on commit 6c7f547

Please sign in to comment.