pip install cupy
でインストールすると次のエラーが起きます。
何かわかる方いましたら教えてください。
OSはmacOS Catalinaです。
ERROR: Command errored out with exit status 1: command: /Users/idaryuunosuke/.pyenv/versions/anaconda3-5.3.1/envs/py35/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/xb/_ns_5kmn24sf094m6kk68c640000gn/T/pip-install-kjovfj57/cupy/setup.py'"'"'; __file__='"'"'/private/var/folders/xb/_ns_5kmn24sf094m6kk68c640000gn/T/pip-install-kjovfj57/cupy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/xb/_ns_5kmn24sf094m6kk68c640000gn/T/pip-install-kjovfj57/cupy/pip-egg-info cwd: /private/var/folders/xb/_ns_5kmn24sf094m6kk68c640000gn/T/pip-install-kjovfj57/cupy/ Complete output (43 lines): Options: {'linetrace': False, 'package_name': 'cupy', 'long_description': None, 'wheel_libs': [], 'annotate': False, 'no_rpath': False, 'no_cuda': False, 'wheel_includes': [], 'profile': False} -------- Configuring Module: cuda -------- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun command '/usr/bin/clang' failed with exit status 1 ************************************************************ * CuPy Configuration Summary * ************************************************************ Build Environment: Include directories: [] Library directories: [] nvcc command : (not found) Environment Variables: CFLAGS : (none) LDFLAGS : (none) LIBRARY_PATH : (none) CUDA_PATH : (none) NVTOOLSEXT_PATH : (none) 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 "/private/var/folders/xb/_ns_5kmn24sf094m6kk68c640000gn/T/pip-install-kjovfj57/cupy/setup.py", line 132, in <module> ext_modules = cupy_setup_build.get_ext_modules() File "/private/var/folders/xb/_ns_5kmn24sf094m6kk68c640000gn/T/pip-install-kjovfj57/cupy/cupy_setup_build.py", line 632, in get_ext_modules extensions = make_extensions(arg_options, compiler, use_cython) File "/private/var/folders/xb/_ns_5kmn24sf094m6kk68c640000gn/T/pip-install-kjovfj57/cupy/cupy_setup_build.py", line 387, in make_extensions raise Exception('Your CUDA environment is invalid. ' Exception: Your CUDA environment is invalid. Please check above error log. ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
回答1件
あなたの回答
tips
プレビュー