# Can't install torch

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-install-torch%2F68155%3E%5C
**Category:** Beginners\
**Created:** [January 6, 2024, 1:39pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-install-torch%2F68155 "2024-01-06T13:39:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TY654](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@TY654](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FTY654)%5C
**Post date:** [January 6, 2024, 1:39pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcant-install-torch%2F68155%2F1 "2024-01-06T13:39:10Z")

</div>

I wanted to use speecht5 model and install it on my Linux Manjaro.  
I followed the instructions and installed in virtual environment  
`.env/Scripts/activate`  
I get error that I have not enough space:

> **[\[user@user ~\]$ source .env/bin/activate(.env) \[user@user ~\]$ pip install tf-cp...](https://pastebin.com/Y3PV01RH)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

But I have 170 GB free space.

I installed flax. Do I need all of the three installed?  
PyTorch, TensorFlow, and Flax

I want to use it only on my CPU, with no GPU.

Operating System: Manjaro Linux  
Kernel Version: 6.6.8-2-MANJARO (64-bit)  
Graphics Platform: X11  
Processors: 4 × Intel® Pentium® CPU G4560 @ 3.50GHz  
Memory: 7.7 GiB of RAM  
Graphics Processor: Mesa Intel® HD Graphics 610

Will this be enough to do offline TTS?

Do I really need to install all these huge nvidia files when I don’t have nvidia?

```auto
Downloading torch-2.1.2-cp311-cp311-manylinux1_x86_64.whl (670.2 MB)
 670.2/670.2 MB 1.3 MB/s eta 0:00:00
Downloading nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB)

```

Edit:

Finally I installed torch but I can’t pass test:  
`python -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('we love you'))"`

See attached output

> **[\[user@user ~\]$ source .env/bin/activate(.env) \[user@user ~\]$ pip install torch...](https://pastebin.com/TCMJXsU7)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Do I need to have jaxlib install from system repositories and system wide or in this env?

I get error installing jaxlib from system repositories. I don’t know what to do.
