Commit d60df4b8 authored by rusty1s's avatar rusty1s
Browse files

installation updates

parent 08082652
...@@ -35,14 +35,27 @@ All included operations work on varying data types, are implemented both for CPU ...@@ -35,14 +35,27 @@ All included operations work on varying data types, are implemented both for CPU
## Installation ## Installation
Check that `nvcc` is accessible from terminal, e.g. `nvcc --version`. Ensure that at least PyTorch 0.4.1 is installed and verify that `cuda/bin` and `cuda/install` are in your `$PATH` and `$CPATH` respectively, *e.g.*:
If not, add cuda (`/usr/local/cuda/bin`) to your `$PATH`.
```
$ python -c "import torch; print(torch.__version__)"
>>> 0.4.1
$ echo $PATH
>>> /usr/local/cuda/bin:...
$ echo $CPATH
>>> /usr/local/cuda/install:...
```
Then run: Then run:
``` ```
pip install torch-scatter pip install torch-scatter
``` ```
If you are running into any installation problems, please create an [issue](https://github.com/rusty1s/pytorch_scatter/issues).
## Example ## Example
```py ```py
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment