PyTorch-EMDLoss icon indicating copy to clipboard operation
PyTorch-EMDLoss copied to clipboard

OSError: CUDA_HOME environment variable is not set

Open icoz69 opened this issue 5 years ago • 1 comments

hi, when i run the setup.py, came across this issus. how can i slove it?

image

icoz69 avatar Aug 28 '19 02:08 icoz69

Just add the line in your .bashrc to configurate your cuda environment: export CUDA_HOME=/usr/local/cuda and source ~/.bashrc

Leong1230 avatar Apr 26 '21 06:04 Leong1230