Hey guys,
when I was installing the pytorch based on its source, I’ve encountered with this error:

CMake Error at /home/mlcmdeep/anaconda3/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find CUDA (missing: CUDA_CUDART_LIBRARY) (found suitable version
"7.5", minimum required is “5.5”)
Call Stack (most recent call first):
/home/mlcmdeep/anaconda3/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/home/mlcmdeep/pytorch/cmake/FindCUDA/FindCUDA.cmake:1013 (find_package_handle_standard_args)
CMakeLists.txt:28 (FIND_PACKAGE)


– Configuring incomplete, errors occurred!
See also “/home/mlcmdeep/pytorch/torch/lib/build/THC/CMakeFiles/CMakeOutput.log”

The installation commands which I’ve used were:

$ git clone https://github.com/pytorch/pytorch 64
$ export CMAKE_PREFIX_PATH=/home/yunjey/anaconda3   # your anaconda path
$ conda install numpy mkl setuptools cmake gcc cffi
$ conda install -c soumith magma-cuda80
$ export MACOSX_DEPLOYMENT_TARGET=10.9   # if OSX
$ pip install -r requirements.txt
$ python setup.py 19 install (error has occurred when running this command)

So Could you make me aware about the source of the problem? Actually, how can I solve this problem?
Thanks!