Pytorch and torch cpu version

AsmaAdil: <p>i don’t have NVIDIA graphic card. Nad i want to work on PyTorch geometric library. for installation of PyTorch geometric its written that torch.cuda.is_available()  should return true. But its returning false in my case.<br>
Can i work with Cuda installation of torch and cpu version of pytorch geometric?</p>

RicCu: <p>can’t you just install the cpu packages for pytorch geometric alongside a cpu version of PyTorch? Are you getting some error?</p>
<pre><code class="lang-auto">pip install torch-scatter==latest+cpu torch-sparse==latest+cpu
pip install torch-cluster (optional)
pip install torch-spline-conv (optional)
python setup.py install or pip install torch-geometric
</code></pre>

AsmaAdil: <p>I have installed this but i am getting errors by writing<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/f/e/feb40fe9f71dc2c4b60d4fbe120c8758c6fce1c2.png" data-download-href="https://discuss.pytorch.org/uploads/default/feb40fe9f71dc2c4b60d4fbe120c8758c6fce1c2" title="123"><img src="https://discuss.pytorch.org/uploads/default/original/3X/f/e/feb40fe9f71dc2c4b60d4fbe120c8758c6fce1c2.png" alt="123" data-base62-sha1="Ald3EpHejjle4SmzY75UkTcqZbk" width="690" height="276" data-dominant-color="F2F1F9"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">123</span><span class="informations">1190×477 28.4 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div>  these two lines<br>
import torch<br>
from torch_geometric.data import Data</p>

AsmaAdil: <p>previsously i installed pytorch using following command:<br>
conda install -c pytorch pytorch</p>
<p>now when i tried the command you mentioned it gives following error<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/c/7/c7bf0040541405371d875e5476935f5d63b21948.png" data-download-href="https://discuss.pytorch.org/uploads/default/c7bf0040541405371d875e5476935f5d63b21948" title="e1"><img src="https://discuss.pytorch.org/uploads/default/original/3X/c/7/c7bf0040541405371d875e5476935f5d63b21948.png" alt="e1" data-base62-sha1="sv2ewMC3lcSPqcrWFEbiIgy4OTK" width="690" height="98" data-dominant-color="484343"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">e1</span><span class="informations">1109×159 10.8 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

AsmaAdil: <p>Just want to share version of pytorch installed<div class="lightbox-wrapper"><a class="lightbox" href="https://discuss.pytorch.org/uploads/default/original/3X/6/7/6764486dc2548b525d8218cd4f269d0abdb8ef12.png" data-download-href="https://discuss.pytorch.org/uploads/default/6764486dc2548b525d8218cd4f269d0abdb8ef12" title="e2"><img src="https://discuss.pytorch.org/uploads/default/original/3X/6/7/6764486dc2548b525d8218cd4f269d0abdb8ef12.png" alt="e2" data-base62-sha1="eKE297HRNah1CRm21Eot7piee8q" width="690" height="129" data-dominant-color="303030"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">e2</span><span class="informations">1104×207 9.35 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div></p>

RicCu: <p>Try with</p>
<pre><code class="lang-auto">pip install torch-scatter==latest+cpu torch-sparse==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.4.0.html
</code></pre>