前提・実現したいこと
cupyをインストールしたいです。
使っているもの
OS macOS High Sierra
Xcode version8.3
Python 3.6.5 :: Anaconda, Inc.
CUDA Version 10.0.130
発生している問題・エラーメッセージ
pip install cupy をしようとして
以下のエラーメッセージが発生しました。
出力画面が長かったので一部だけ載せています。
Failed building wheel for cupy Running setup.py clean for cupy Failed to build cupy Installing collected packages: cupy Running setup.py install for cupy ... | (省略) RuntimeError: Encountered unknown error while testing nvcc: nvcc fatal : The version ('10.0') of the host compiler ('Apple clang') is not supported ---------------------------------------- Command "/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/35/rr3v_mcs5hv4fgzfn9q31gxr0000gn/T/pip-install-yq8tw5np/cupy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/35/rr3v_mcs5hv4fgzfn9q31gxr0000gn/T/pip-record-r8u3zt_8/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/35/rr3v_mcs5hv4fgzfn9q31gxr0000gn/T/pip-install-yq8tw5np/cupy/
試したこと
XcodeCLTのバージョンが原因の一つという記事を見てXcodeをダウングレードしました。
chainer をインストールしてから試しました。
あなたの回答
tips
プレビュー