asanakoy / deeppose_tf

DeepPose implementation on TensorFlow. Original Paper http://arxiv.org/abs/1312.4659
Other
144 stars 61 forks source link

Error while installing cupy #17

Closed aniketzz closed 6 years ago

aniketzz commented 6 years ago

I tried to instal Cupy with python 2.7 on windows 10 but i am getting following error

C:\Users\acer.LAPTOP-DAK58UAQ>pip2 install cupy Collecting cupy Downloading cupy-2.5.0.tar.gz (1.8MB) 100% |################################| 1.8MB 161kB/s Complete output from command python setup.py egg_info:


*** WARNING: Cannot find nvToolsExt. nvtx was disabled.
**************************************************
Options: {'profile': False, 'annotate': False, 'linetrace': False, 'no_cuda': False}
Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\include', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\include']
Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\lib\\x64', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\lib\\x64']
Microsoft Visual C++ 9.0 is required. Get it from http://aka.ms/vcpython27
**************************************************
*** WARNING: Include files not found: ['cublas_v2.h', 'cuda.h', 'cuda_profiler_api.h', 'cuda_runtime.h', 'curand.h', 'cusparse.h', 'nvrtc.h']
*** WARNING: Skip installing cuda support
*** WARNING: Check your CFLAGS environment variable
**************************************************
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\users\acer.laptop-dak58uaq\appdata\local\temp\pip-build-66dhvz\cupy\setup.py", line 32, in <module>
    ext_modules = cupy_setup_build.get_ext_modules()
  File "cupy_setup_build.py", line 385, in get_ext_modules
    extensions = make_extensions(arg_options, compiler, use_cython)
  File "cupy_setup_build.py", line 275, in make_extensions
    raise Exception('Your CUDA environment is invalid. '
Exception: Your CUDA environment is invalid. Please check above error log.

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in c:\users\acer.laptop-dak58uaq\appdata\local\temp\pip-build-66dhvz\cupy\

i have used cuda 8 with openpose as well and it works fine for me but in case of deep pose i am getting the above error.

asanakoy commented 6 years ago

I don't think it is related to this repository. You should ask support on NVIDIA forums or on stack overflow.