You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am trying to build cupy from source(for development) in Windows with CUDA and the following error shows up :
* CuPy Configuration Summary *
************************************************************
Build Environment:
Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.3\\include\\cub', 'G:\\devel\\cupy\\cupy/_core/include', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.3\\include', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\include']
Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.3\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.3\\lib\\x64', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\lib\\x64']
nvcc command : ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.3\\bin/nvcc.exe']
hipcc command : (not found)
Environment Variables:
CFLAGS : (none)
LDFLAGS : (none)
LIBRARY_PATH : (none)
CUDA_PATH : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3
NVTOOLSEXT_PATH : C:\Program Files\NVIDIA Corporation\NvToolsExt\
NVCC : (none)
HIPCC : (none)
ROCM_HOME : (none)
Modules:
cuda : Yes (version 11030)
cusolver : Yes
cudnn : Yes (version 8200)
nccl : No
-> Include files not found: ['nccl.h']
-> Check your CFLAGS environment variable.
nvtx : Yes
cutensor : No
-> Include files not found: ['cutensor.h']
-> Check your CFLAGS environment variable.
cub : Yes (version 101100)
jitify : Yes (version 60e9e72)
random : Yes
cusparselt: No
-> Include files not found: ['cusparseLt.h']
-> Check your CFLAGS environment variable.
dlpack : Yes
thrust : Yes (version 101100)
WARNING: Some modules could not be configured.
CuPy will be installed without these modules.
Please refer to the Installation Guide for details:
https://docs.cupy.dev/en/stable/install.html
************************************************************
error: Unable to find vcvarsall.bat
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\saswa\anaconda3\envs\cupy\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'G:\devel\cupy\setup.py'"'"'; file='"'"'G:\devel\cupy\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
Even though I run "pip install -e ." after initialising Visual Studio 2017 x64 environment (using vcvarsall.bat), this error still persists. Can anyone tell me what is going on.
Some Cuda packages like cuTensor is not found, but it was optional and package can be build without cuTensor also. So the main issue is that Unable to find vcvarsall.bat (which clearly is running fine in the same command prompt). Also Since I want to develop, installing from wheel is out of question. Somebody help please !! Thank you
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I am trying to build cupy from source(for development) in Windows with CUDA and the following error shows up :
Even though I run "pip install -e ." after initialising Visual Studio 2017 x64 environment (using vcvarsall.bat), this error still persists. Can anyone tell me what is going on.
Some Cuda packages like cuTensor is not found, but it was optional and package can be build without cuTensor also. So the main issue is that Unable to find vcvarsall.bat (which clearly is running fine in the same command prompt). Also Since I want to develop, installing from wheel is out of question. Somebody help please !! Thank you
Beta Was this translation helpful? Give feedback.
All reactions