cant install cupy
See original GitHub issuewindows10, anaconda3 installed Visual Studio Community 2017 installed cuda_9.0.176_win10
`(base) C:\Users\cmjoh>pip install cupy --pre Collecting cupy Using cached cupy-4.0.0b4.tar.gz Complete output from command python setup.py egg_info: ************************************************** *** WARNING: Cannot find nvToolsExt. nvtx was disabled. ************************************************** Options: {‘package_name’: ‘cupy’, ‘long_description’: None, ‘wheel_libs’: [], ‘profile’: False, ‘linetrace’: False, ‘annotate’: False, ‘no_cuda’: False}
-------- Configuring Module: cuda --------
Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
************************************************************
* CuPy Configuration Summary *
************************************************************
Build Environment:
Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\include', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\include']
Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\lib\\x64', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\lib\\x64']
nvcc command : ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\bin/nvcc.exe']
Environment Variables:
CFLAGS : (none)
LDFLAGS : (none)
LIBRARY_PATH : (none)
CUDA_PATH : C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0
NVCC : (none)
Modules:
cuda : No
-> Include files not found: ['cublas_v2.h', 'cuda.h', 'cuda_profiler_api.h', 'cuda_runtime.h', 'cufft.h', 'curand.h', 'cusparse.h', 'nvrtc.h']
-> Check your CFLAGS environment variable.
ERROR: CUDA could not be found on your system.
Please refer to the Installation Guide for details:
https://docs-cupy.chainer.org/en/stable/install.html
************************************************************
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\cmjoh\AppData\Local\Temp\pip-build-g5xaodze\cupy\setup.py", line 64, in <module>
ext_modules = cupy_setup_build.get_ext_modules()
File "C:\Users\cmjoh\AppData\Local\Temp\pip-build-g5xaodze\cupy\cupy_setup_build.py", line 547, in get_ext_modules
extensions = make_extensions(arg_options, compiler, use_cython)
File "C:\Users\cmjoh\AppData\Local\Temp\pip-build-g5xaodze\cupy\cupy_setup_build.py", line 374, 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\cmjoh\AppData\Local\Temp\pip-build-g5xaodze\cupy
`
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Can't install via Pip · Issue #952 · cupy/cupy - GitHub
Tried to install via pip install cupy but got the following error: Collecting cupy Using cached cupy-2.3.0.tar.gz Complete output from ...
Read more >I cannot install cupy with pip - Stack Overflow
running install running build running build_py creating build creating build/lib. linux-x86_64-3.6 creating build/lib. linux-x86_64-3.6/cupy ...
Read more >Installation — CuPy 11.4.0 documentation
pip fails to install CuPy# ... If you are using certain versions of conda, it may fail to build CuPy with error g++:...
Read more >[Example code]-I cannot install cupy with pip
WARNING: Some modules could not be configured. CuPy will be installed without these modules. Please refer to the Installation Guide for details: ...
Read more >Having problems installing cupy : r/learnpython - Reddit
I'm trying to set up CuPy so that I can run some calculations more efficiently ... I get an error message saying the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
same problem with cuda-9.0. using this solved the problem: $pip install cupy-cuda90
We started to provide windows wheels for development releases. Please refer to the installation guide. https://docs-cupy.chainer.org/en/latest/install.html#install-cupy