質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Chainer

Chainerは、国産の深層学習フレームワークです。あらゆるニューラルネットワークをPythonで柔軟に書くことができ、学習させることが可能。GPUをサポートしており、複数のGPUを用いた学習も直感的に記述できます。

Jupyter

Jupyter (旧IPython notebook)は、Notebook形式でドキュメント作成し、プログラムの記述・実行、その実行結果を記録するツールです。メモの作成や保存、共有、確認などもブラウザ上で行うことができます。

Q&A

0回答

305閲覧

jupyterにcupyがインストールできません

argus

総合スコア8

Chainer

Chainerは、国産の深層学習フレームワークです。あらゆるニューラルネットワークをPythonで柔軟に書くことができ、学習させることが可能。GPUをサポートしており、複数のGPUを用いた学習も直感的に記述できます。

Jupyter

Jupyter (旧IPython notebook)は、Notebook形式でドキュメント作成し、プログラムの記述・実行、その実行結果を記録するツールです。メモの作成や保存、共有、確認などもブラウザ上で行うことができます。

0グッド

0クリップ

投稿2018/08/21 14:13

編集2018/08/24 09:11

前提・実現したいこと

jupyterにてcupyをインストールしようとしてエラーが発生しました

##エラーメッセージ

nbuser@nbserver:~/library$ pip3 install cupy
Collecting cupy
Using cached https://files.pythonhosted.org/packages/7c/6e/d8713723cce104b2c5328d49431febb9082bb8d2dee4da23ba3a81e811e2/cupy-4.3.0.tar.gz
Complete output from command python setup.py egg_info:
Options: {'wheel_libs': [], 'package_name': 'cupy', 'long_description': None, 'linetrace': False, 'no_rpath': False, 'no_cuda': False, 'profile': False, 'annotate': False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************

-------- Configuring Module: cuda -------- cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ /tmp/tmpiljuny92/a.cpp:1:23: fatal error: cublas_v2.h: No such file or directory compilation terminated. command 'x86_64-linux-gnu-gcc' 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 "/tmp/pip-build-087s4h16/cupy/setup.py", line 64, in <module> ext_modules = cupy_setup_build.get_ext_modules() File "/tmp/pip-build-087s4h16/cupy/cupy_setup_build.py", line 579, in get_ext_modules extensions = make_extensions(arg_options, compiler, use_cython) File "/tmp/pip-build-087s4h16/cupy/cupy_setup_build.py", line 378, 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 /tmp/pip-build-087s4h16/cupy/

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問