Giter Club home page Giter Club logo

Comments (8)

goldsborough avatar goldsborough commented on July 30, 2024 21

That's odd. Maybe you have an unusual install location for CUDA. Either way, just setting CUDA_HOME to your cuda install path before running python setup.py should work: CUDA_HOME=/path/to/your/cuda/home python setup.py install

from extension-cpp.

DaLei001 avatar DaLei001 commented on July 30, 2024 1

@zzd1992 Could you tell how to solve the problem about "the CUDA_HOME environment variable is not set"?

from extension-cpp.

fengyuan1993012 avatar fengyuan1993012 commented on July 30, 2024 1

The problem could be solved by installing the whole cuda through the nvida website. and when installing it, you may come across some problem. then https://askubuntu.com/questions/1280205/problem-while-installing-cuda-toolkit-in-ubuntu-18-04/1315116#1315116?newreg=ec85792ef03b446297a665e21fff5735 the answer may be to help you. GOOD LUCK

from extension-cpp.

zzd1992 avatar zzd1992 commented on July 30, 2024

Thanks. My problem is solved.

from extension-cpp.

zzd1992 avatar zzd1992 commented on July 30, 2024

@DaLei001

CUDA_HOME=/path/to/your/cuda/home python setup.py install

This is worked in my situation.

from extension-cpp.

mmahdavian avatar mmahdavian commented on July 30, 2024

I am getting this error in a conda env on a server and I have cudatoolkit installed on the conda env. What should the CUDA_HOME be in my case.

from extension-cpp.

parasdegregore avatar parasdegregore commented on July 30, 2024

@mmahdavian cudatoolkit probably won't work for you, it doesn't provide access to low level c++ apis. You'd need to install CUDA using the official method.

from extension-cpp.

ShoufaChen avatar ShoufaChen commented on July 30, 2024

I got a similar error when using pycharm, with unusual cuda install location.

I just add the CUDA_HOME env and solve this problem.

from extension-cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.