Search code examples
pythonpytorchocrfedora

Unable to install easyocr and torch on Fedora 37


I tried installing torch and easyocr on a Fedora 37 machine. I used the following command: pip install easyocr, pip install torch. But I was not able to install torch although easyocr gets downloaded. I would like to know if there is any issue with torch.

Command: pip install easyocr on Fedora 37.


Solution

  • You have 4 GB RAM which is quite low. It should install with this command:

    pip install --no-cache-dir torch
    

    If anyone is experiencing the same issue, they should check this thread:

    https://github.com/pytorch/pytorch/issues/25164