[Python] While installing pytorch, got missing file that exists

Discussão em 'Python' iniciado por Stack, Agosto 8, 2025.

  1. Stack

    Stack Membro Participativo

    I am running Ubuntu 22.04 and I've backed python back to 3.10.12 so I can install audio X. I've never worked much with python.

    I ran the command pip install aeiou and, after doing a bunch of things, it gets to torch and says.

    ... many moving lines omitted ...
    Moving to /home/thomas/anaconda3/share/cmake/Caffe2/
    from /home/thomas/anaconda3/share/cmake/~affe2
    Moving to /home/thomas/anaconda3/share/cmake/Tensorpipe/
    from /home/thomas/anaconda3/share/cmake/~ensorpipe
    Moving to /home/thomas/anaconda3/share/cmake/Torch/
    from /home/thomas/anaconda3/share/cmake/~orch
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0/6 [torch]ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/home/thomas/anaconda3/lib/python3.13/site-packages/torch/include/ATen/ATen.h'


    Which is really weird because:

    (base) thomas@audiox:~/AudioX$ ls -l /home/thomas/anaconda3/lib/python3.13/site-packages/torch/include/ATen/ATen.h
    -rw-rw-r-- 2 thomas thomas 1107 May 7 15:10 /home/thomas/anaconda3/lib/python3.13/site-packages/torch/include/ATen/ATen.h


    What???

    Continue reading...

Compartilhe esta Página