Skip to content

pip install not working due to cuda.h missing error #21

Closed
@ycemsubakan

Description

@ycemsubakan

I have tried pip install pytorch-fft, on two different machines with gpus, and on both I am getting this error:
venv/local/lib/python2.7/site-packages/torch/utils/ffi/../../lib/include/THC/THCGeneral.h:9:18: fatal error: cuda.h: No such file or directory

I tried python 2.7 and 3.6. I also tried to install without using a virtual environment.

P.S.: I first got the error which says the package cffi was missing. I installed that package, and now I am getting this error.

I would appreciate your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions