Chainer@{PC名}:~$ pip install chainer
ログは見ない方がいいと思う
Downloading/unpacking chainer
Downloading chainer-1.17.0.tar.gz (1.1MB): 1.1MB downloaded
Running setup.py (path:/tmp/pip_build_Chainer/chainer/setup.py) egg_info for package chainer
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp1eQUOp/a.cpp -o /tmp/tmp1eQUOp/tmp/tmp1eQUOp/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp1eQUOp/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpzEyi6z/a.cpp -o /tmp/tmpzEyi6z/tmp/tmpzEyi6z/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmpzEyi6z/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
Downloading/unpacking filelock (from chainer)
Downloading filelock-2.0.6.tar.gz
Running setup.py (path:/tmp/pip_build_Chainer/filelock/setup.py) egg_info for package filelock
Downloading/unpacking nose (from chainer)
Downloading nose-1.3.7-py2-none-any.whl (154kB): 154kB downloaded
Requirement already satisfied (use –upgrade to upgrade): numpy>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): protobuf in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Installing collected packages: chainer, filelock, nose
Running setup.py install for chainer
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp4cuPhb/a.cpp -o /tmp/tmp4cuPhb/tmp/tmp4cuPhb/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp4cuPhb/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp2DeqJ8/a.cpp -o /tmp/tmp2DeqJ8/tmp/tmp2DeqJ8/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp2DeqJ8/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
error: could not create ‘/usr/local/lib/python2.7/dist-packages/chainer’: Permission denied
Complete output from command /usr/bin/python -c “import setuptools, tokenize;__file__=’/tmp/pip_build_Chainer/chainer/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(__file__).read().replace(‘\r\n’, ‘\n’), __file__, ‘exec’))” install –record /tmp/pip-v6pzqL-record/install-record.txt –single-version-externally-managed –compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/chainer
copying chainer/__init__.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/computational_graph.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/cuda.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/flag.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/function.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/function_set.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/gradient_check.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/initializer.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/link.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/optimizer.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/reporter.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/serializer.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/variable.py -> build/lib.linux-x86_64-2.7/chainer
creating build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/__init__.py -> build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/convert.py -> build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/dataset_mixin.py -> build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/download.py -> build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/iterator.py -> build/lib.linux-x86_64-2.7/chainer/dataset
creating build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/__init__.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/cifar.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/dict_dataset.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/image_dataset.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/mnist.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/ptb.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/sub_dataset.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/tuple_dataset.py -> build/lib.linux-x86_64-2.7/chainer/datasets
creating build/lib.linux-x86_64-2.7/chainer/functions
copying chainer/functions/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions
creating build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/clipped_relu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/crelu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/elu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/hard_sigmoid.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/leaky_relu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/log_softmax.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/lstm.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/maxout.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/prelu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/relu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/sigmoid.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/slstm.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/softmax.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/softplus.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/tanh.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
creating build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/broadcast.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/cast.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/concat.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/copy.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/dstack.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/expand_dims.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/flatten.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/get_item.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/hstack.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/permutate.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/reshape.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/rollaxis.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/select_item.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/separate.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/split_axis.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/stack.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/swapaxes.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/transpose.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/transpose_sequence.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/vstack.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/where.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
creating build/lib.linux-x86_64-2.7/chainer/functions/caffe
copying chainer/functions/caffe/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/caffe
creating build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/bilinear.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/convolution_nd.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/deconvolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/deconvolution_nd.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/dilated_convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/embed_id.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/linear.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/n_step_lstm.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
creating build/lib.linux-x86_64-2.7/chainer/functions/evaluation
copying chainer/functions/evaluation/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/evaluation
copying chainer/functions/evaluation/accuracy.py -> build/lib.linux-x86_64-2.7/chainer/functions/evaluation
copying chainer/functions/evaluation/binary_accuracy.py -> build/lib.linux-x86_64-2.7/chainer/functions/evaluation
copying chainer/functions/evaluation/classification_summary.py -> build/lib.linux-x86_64-2.7/chainer/functions/evaluation
creating build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/black_out.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/contrastive.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/crf1d.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/cross_covariance.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/ctc.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/hinge.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/huber_loss.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/mean_squared_error.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/negative_sampling.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/sigmoid_cross_entropy.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/softmax_cross_entropy.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/triplet.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/vae.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
creating build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/basic_math.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/batch_l2_norm_squared.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/bias.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/ceil.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/clip.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/det.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/exponential.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/exponential_m1.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/floor.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/hyperbolic.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/identity.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/inv.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/linear_interpolate.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/logarithm_1p.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/logsumexp.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/matmul.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/maximum.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/minimum.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/minmax.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/scale.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/sqrt.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/sum.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/trigonometric.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
creating build/lib.linux-x86_64-2.7/chainer/functions/noise
copying chainer/functions/noise/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/noise
copying chainer/functions/noise/dropout.py -> build/lib.linux-x86_64-2.7/chainer/functions/noise
copying chainer/functions/noise/gaussian.py -> build/lib.linux-x86_64-2.7/chainer/functions/noise
creating build/lib.linux-x86_64-2.7/chainer/functions/normalization
copying chainer/functions/normalization/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/normalization
copying chainer/functions/normalization/batch_normalization.py -> build/lib.linux-x86_64-2.7/chainer/functions/normalization
copying chainer/functions/normalization/l2_normalization.py -> build/lib.linux-x86_64-2.7/chainer/functions/normalization
copying chainer/functions/normalization/local_response_normalization.py -> build/lib.linux-x86_64-2.7/chainer/functions/normalization
creating build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/average_pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/max_pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/roi_pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/spatial_pyramid_pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/unpooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
creating build/lib.linux-x86_64-2.7/chainer/functions/util
copying chainer/functions/util/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/util
copying chainer/functions/util/forget.py -> build/lib.linux-x86_64-2.7/chainer/functions/util
creating build/lib.linux-x86_64-2.7/chainer/function_hooks
copying chainer/function_hooks/__init__.py -> build/lib.linux-x86_64-2.7/chainer/function_hooks
copying chainer/function_hooks/debug_print.py -> build/lib.linux-x86_64-2.7/chainer/function_hooks
copying chainer/function_hooks/timer.py -> build/lib.linux-x86_64-2.7/chainer/function_hooks
creating build/lib.linux-x86_64-2.7/chainer/iterators
copying chainer/iterators/__init__.py -> build/lib.linux-x86_64-2.7/chainer/iterators
copying chainer/iterators/multiprocess_iterator.py -> build/lib.linux-x86_64-2.7/chainer/iterators
copying chainer/iterators/serial_iterator.py -> build/lib.linux-x86_64-2.7/chainer/iterators
creating build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/__init__.py -> build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/constant.py -> build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/normal.py -> build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/orthogonal.py -> build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/uniform.py -> build/lib.linux-x86_64-2.7/chainer/initializers
creating build/lib.linux-x86_64-2.7/chainer/links
copying chainer/links/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links
creating build/lib.linux-x86_64-2.7/chainer/links/activation
copying chainer/links/activation/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/activation
copying chainer/links/activation/maxout.py -> build/lib.linux-x86_64-2.7/chainer/links/activation
copying chainer/links/activation/prelu.py -> build/lib.linux-x86_64-2.7/chainer/links/activation
creating build/lib.linux-x86_64-2.7/chainer/links/caffe
copying chainer/links/caffe/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe
copying chainer/links/caffe/caffe_function.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe
creating build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf2
copying chainer/links/caffe/protobuf2/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf2
copying chainer/links/caffe/protobuf2/caffe_pb2.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf2
creating build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf3
copying chainer/links/caffe/protobuf3/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf3
copying chainer/links/caffe/protobuf3/caffe_pb2.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf3
creating build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/bias.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/bilinear.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/convolution_nd.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/deconvolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/deconvolution_nd.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/dilated_convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/embed_id.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/gru.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/highway.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/inception.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/inceptionbn.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/linear.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/lstm.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/mlp_convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/n_step_lstm.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/parameter.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/peephole.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/scale.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
creating build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/black_out.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/crf1d.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/hierarchical_softmax.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/negative_sampling.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
creating build/lib.linux-x86_64-2.7/chainer/links/model
copying chainer/links/model/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/model
copying chainer/links/model/classifier.py -> build/lib.linux-x86_64-2.7/chainer/links/model
creating build/lib.linux-x86_64-2.7/chainer/links/normalization
copying chainer/links/normalization/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/normalization
copying chainer/links/normalization/batch_normalization.py -> build/lib.linux-x86_64-2.7/chainer/links/normalization
creating build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/__init__.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/ada_delta.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/ada_grad.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/adam.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/momentum_sgd.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/nesterov_ag.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/rmsprop.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/rmsprop_graves.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/sgd.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/smorms3.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
creating build/lib.linux-x86_64-2.7/chainer/serializers
copying chainer/serializers/__init__.py -> build/lib.linux-x86_64-2.7/chainer/serializers
copying chainer/serializers/hdf5.py -> build/lib.linux-x86_64-2.7/chainer/serializers
copying chainer/serializers/npz.py -> build/lib.linux-x86_64-2.7/chainer/serializers
creating build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/__init__.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/array.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/attr.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/condition.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/helper.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/parameterized.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/unary_math_function_test.py -> build/lib.linux-x86_64-2.7/chainer/testing
creating build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/__init__.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/extension.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/trainer.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/trigger.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/updater.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/util.py -> build/lib.linux-x86_64-2.7/chainer/training
creating build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/__init__.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/_snapshot.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/computational_graph.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/evaluator.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/exponential_shift.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/linear_shift.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/log_report.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/print_report.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/progress_bar.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/value_observation.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
creating build/lib.linux-x86_64-2.7/chainer/training/triggers
copying chainer/training/triggers/__init__.py -> build/lib.linux-x86_64-2.7/chainer/training/triggers
copying chainer/training/triggers/interval.py -> build/lib.linux-x86_64-2.7/chainer/training/triggers
copying chainer/training/triggers/minmax_value_trigger.py -> build/lib.linux-x86_64-2.7/chainer/training/triggers
creating build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/__init__.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/array.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/conv.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/conv_nd.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/conv_nd_kernel.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/type_check.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/walker_alias.py -> build/lib.linux-x86_64-2.7/chainer/utils
creating build/lib.linux-x86_64-2.7/cupy
copying cupy/__init__.py -> build/lib.linux-x86_64-2.7/cupy
copying cupy/cudnn.py -> build/lib.linux-x86_64-2.7/cupy
copying cupy/internal.py -> build/lib.linux-x86_64-2.7/cupy
creating build/lib.linux-x86_64-2.7/cupy/binary
copying cupy/binary/__init__.py -> build/lib.linux-x86_64-2.7/cupy/binary
copying cupy/binary/elementwise.py -> build/lib.linux-x86_64-2.7/cupy/binary
copying cupy/binary/packing.py -> build/lib.linux-x86_64-2.7/cupy/binary
creating build/lib.linux-x86_64-2.7/cupy/core
copying cupy/core/__init__.py -> build/lib.linux-x86_64-2.7/cupy/core
creating build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/__init__.py -> build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/basic.py -> build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/from_data.py -> build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/matrix.py -> build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/ranges.py -> build/lib.linux-x86_64-2.7/cupy/creation
creating build/lib.linux-x86_64-2.7/cupy/cuda
copying cupy/cuda/__init__.py -> build/lib.linux-x86_64-2.7/cupy/cuda
copying cupy/cuda/compiler.py -> build/lib.linux-x86_64-2.7/cupy/cuda
copying cupy/cuda/stream.py -> build/lib.linux-x86_64-2.7/cupy/cuda
creating build/lib.linux-x86_64-2.7/cupy/indexing
copying cupy/indexing/__init__.py -> build/lib.linux-x86_64-2.7/cupy/indexing
copying cupy/indexing/generate.py -> build/lib.linux-x86_64-2.7/cupy/indexing
copying cupy/indexing/indexing.py -> build/lib.linux-x86_64-2.7/cupy/indexing
copying cupy/indexing/insert.py -> build/lib.linux-x86_64-2.7/cupy/indexing
creating build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/__init__.py -> build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/formatting.py -> build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/npz.py -> build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/rawfile.py -> build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/text.py -> build/lib.linux-x86_64-2.7/cupy/io
creating build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/__init__.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/decomposition.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/eigenvalue.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/norm.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/product.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/solve.py -> build/lib.linux-x86_64-2.7/cupy/linalg
creating build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/__init__.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/comparison.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/content.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/ops.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/truth.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/type_test.py -> build/lib.linux-x86_64-2.7/cupy/logic
creating build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/__init__.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/add_remove.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/basic.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/dims.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/join.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/kind.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/rearrange.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/shape.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/split.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/tiling.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/transpose.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
creating build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/__init__.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/arithmetic.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/explog.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/floating.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/hyperbolic.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/misc.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/rounding.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/special.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/sumprod.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/trigonometric.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/ufunc.py -> build/lib.linux-x86_64-2.7/cupy/math
creating build/lib.linux-x86_64-2.7/cupy/padding
copying cupy/padding/__init__.py -> build/lib.linux-x86_64-2.7/cupy/padding
creating build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/__init__.py -> build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/distributions.py -> build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/generator.py -> build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/permutations.py -> build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/sample.py -> build/lib.linux-x86_64-2.7/cupy/random
creating build/lib.linux-x86_64-2.7/cupy/sorting
copying cupy/sorting/__init__.py -> build/lib.linux-x86_64-2.7/cupy/sorting
copying cupy/sorting/count.py -> build/lib.linux-x86_64-2.7/cupy/sorting
copying cupy/sorting/search.py -> build/lib.linux-x86_64-2.7/cupy/sorting
copying cupy/sorting/sort.py -> build/lib.linux-x86_64-2.7/cupy/sorting
creating build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/__init__.py -> build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/correlation.py -> build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/histogram.py -> build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/meanvar.py -> build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/order.py -> build/lib.linux-x86_64-2.7/cupy/statistics
creating build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/__init__.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/array.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/attr.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/condition.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/helper.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/hypothesis.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/parameterized.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/core/carray.cuh -> build/lib.linux-x86_64-2.7/cupy/core
running build_ext
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
creating /tmp/tmp4cuPhb/tmp
creating /tmp/tmp4cuPhb/tmp/tmp4cuPhb
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp4cuPhb/a.cpp -o /tmp/tmp4cuPhb/tmp/tmp4cuPhb/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp4cuPhb/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
creating /tmp/tmp2DeqJ8/tmp
creating /tmp/tmp2DeqJ8/tmp/tmp2DeqJ8
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp2DeqJ8/a.cpp -o /tmp/tmp2DeqJ8/tmp/tmp2DeqJ8/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp2DeqJ8/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
running install_lib
creating /usr/local/lib/python2.7/dist-packages/chainer
error: could not create ‘/usr/local/lib/python2.7/dist-packages/chainer’: Permission denied
—————————————-
Cleaning up…
Command /usr/bin/python -c “import setuptools, tokenize;__file__=’/tmp/pip_build_Chainer/chainer/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(__file__).read().replace(‘\r\n’, ‘\n’), __file__, ‘exec’))” install –record /tmp/pip-v6pzqL-record/install-record.txt –single-version-externally-managed –compile failed with error code 1 in /tmp/pip_build_Chainer/chainer
Traceback (most recent call last):
File “/usr/bin/pip”, line 9, in
load_entry_point(‘pip==1.5.4’, ‘console_scripts’, ‘pip’)()
File “/usr/lib/python2.7/dist-packages/pip/__init__.py”, line 235, in main
return command.main(cmd_args)
File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 161, in main
text = ‘\n’.join(complete_log)
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe2 in position 42: ordinal not in range(128)
Chainer@{PC名}:~$ sudo pip install chainer
[sudo] password for Chainer:
Downloading/unpacking chainer
Downloading chainer-1.17.0.tar.gz (1.1MB): 1.1MB downloaded
Running setup.py (path:/tmp/pip_build_root/chainer/setup.py) egg_info for package chainer
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpB9rA22/a.cpp -o /tmp/tmpB9rA22/tmp/tmpB9rA22/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmpB9rA22/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmprVXS3R/a.cpp -o /tmp/tmprVXS3R/tmp/tmprVXS3R/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmprVXS3R/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
Downloading/unpacking filelock (from chainer)
Downloading filelock-2.0.6.tar.gz
Running setup.py (path:/tmp/pip_build_root/filelock/setup.py) egg_info for package filelock
Downloading/unpacking nose (from chainer)
Downloading nose-1.3.7-py2-none-any.whl (154kB): 154kB downloaded
Requirement already satisfied (use –upgrade to upgrade): numpy>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): protobuf in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Installing collected packages: chainer, filelock, nose
Running setup.py install for chainer
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpXYkhCW/a.cpp -o /tmp/tmpXYkhCW/tmp/tmpXYkhCW/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmpXYkhCW/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpLBnYjG/a.cpp -o /tmp/tmpLBnYjG/tmp/tmpLBnYjG/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmpLBnYjG/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
Could not find .egg-info directory in install record for chainer
Running setup.py install for filelock
Could not find .egg-info directory in install record for filelock (from chainer)
Downloading chainer-1.17.0.tar.gz (1.1MB): 1.1MB downloaded
Running setup.py (path:/tmp/pip_build_Chainer/chainer/setup.py) egg_info for package chainer
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp1eQUOp/a.cpp -o /tmp/tmp1eQUOp/tmp/tmp1eQUOp/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp1eQUOp/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpzEyi6z/a.cpp -o /tmp/tmpzEyi6z/tmp/tmpzEyi6z/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmpzEyi6z/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
Downloading/unpacking filelock (from chainer)
Downloading filelock-2.0.6.tar.gz
Running setup.py (path:/tmp/pip_build_Chainer/filelock/setup.py) egg_info for package filelock
Downloading/unpacking nose (from chainer)
Downloading nose-1.3.7-py2-none-any.whl (154kB): 154kB downloaded
Requirement already satisfied (use –upgrade to upgrade): numpy>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): protobuf in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Installing collected packages: chainer, filelock, nose
Running setup.py install for chainer
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp4cuPhb/a.cpp -o /tmp/tmp4cuPhb/tmp/tmp4cuPhb/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp4cuPhb/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp2DeqJ8/a.cpp -o /tmp/tmp2DeqJ8/tmp/tmp2DeqJ8/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp2DeqJ8/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
error: could not create ‘/usr/local/lib/python2.7/dist-packages/chainer’: Permission denied
Complete output from command /usr/bin/python -c “import setuptools, tokenize;__file__=’/tmp/pip_build_Chainer/chainer/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(__file__).read().replace(‘\r\n’, ‘\n’), __file__, ‘exec’))” install –record /tmp/pip-v6pzqL-record/install-record.txt –single-version-externally-managed –compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/chainer
copying chainer/__init__.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/computational_graph.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/cuda.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/flag.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/function.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/function_set.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/gradient_check.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/initializer.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/link.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/optimizer.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/reporter.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/serializer.py -> build/lib.linux-x86_64-2.7/chainer
copying chainer/variable.py -> build/lib.linux-x86_64-2.7/chainer
creating build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/__init__.py -> build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/convert.py -> build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/dataset_mixin.py -> build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/download.py -> build/lib.linux-x86_64-2.7/chainer/dataset
copying chainer/dataset/iterator.py -> build/lib.linux-x86_64-2.7/chainer/dataset
creating build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/__init__.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/cifar.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/dict_dataset.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/image_dataset.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/mnist.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/ptb.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/sub_dataset.py -> build/lib.linux-x86_64-2.7/chainer/datasets
copying chainer/datasets/tuple_dataset.py -> build/lib.linux-x86_64-2.7/chainer/datasets
creating build/lib.linux-x86_64-2.7/chainer/functions
copying chainer/functions/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions
creating build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/clipped_relu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/crelu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/elu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/hard_sigmoid.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/leaky_relu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/log_softmax.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/lstm.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/maxout.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/prelu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/relu.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/sigmoid.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/slstm.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/softmax.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/softplus.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
copying chainer/functions/activation/tanh.py -> build/lib.linux-x86_64-2.7/chainer/functions/activation
creating build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/broadcast.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/cast.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/concat.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/copy.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/dstack.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/expand_dims.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/flatten.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/get_item.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/hstack.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/permutate.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/reshape.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/rollaxis.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/select_item.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/separate.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/split_axis.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/stack.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/swapaxes.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/transpose.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/transpose_sequence.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/vstack.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
copying chainer/functions/array/where.py -> build/lib.linux-x86_64-2.7/chainer/functions/array
creating build/lib.linux-x86_64-2.7/chainer/functions/caffe
copying chainer/functions/caffe/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/caffe
creating build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/bilinear.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/convolution_nd.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/deconvolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/deconvolution_nd.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/dilated_convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/embed_id.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/linear.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
copying chainer/functions/connection/n_step_lstm.py -> build/lib.linux-x86_64-2.7/chainer/functions/connection
creating build/lib.linux-x86_64-2.7/chainer/functions/evaluation
copying chainer/functions/evaluation/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/evaluation
copying chainer/functions/evaluation/accuracy.py -> build/lib.linux-x86_64-2.7/chainer/functions/evaluation
copying chainer/functions/evaluation/binary_accuracy.py -> build/lib.linux-x86_64-2.7/chainer/functions/evaluation
copying chainer/functions/evaluation/classification_summary.py -> build/lib.linux-x86_64-2.7/chainer/functions/evaluation
creating build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/black_out.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/contrastive.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/crf1d.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/cross_covariance.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/ctc.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/hinge.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/huber_loss.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/mean_squared_error.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/negative_sampling.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/sigmoid_cross_entropy.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/softmax_cross_entropy.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/triplet.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
copying chainer/functions/loss/vae.py -> build/lib.linux-x86_64-2.7/chainer/functions/loss
creating build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/basic_math.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/batch_l2_norm_squared.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/bias.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/ceil.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/clip.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/det.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/exponential.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/exponential_m1.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/floor.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/hyperbolic.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/identity.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/inv.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/linear_interpolate.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/logarithm_1p.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/logsumexp.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/matmul.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/maximum.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/minimum.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/minmax.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/scale.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/sqrt.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/sum.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
copying chainer/functions/math/trigonometric.py -> build/lib.linux-x86_64-2.7/chainer/functions/math
creating build/lib.linux-x86_64-2.7/chainer/functions/noise
copying chainer/functions/noise/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/noise
copying chainer/functions/noise/dropout.py -> build/lib.linux-x86_64-2.7/chainer/functions/noise
copying chainer/functions/noise/gaussian.py -> build/lib.linux-x86_64-2.7/chainer/functions/noise
creating build/lib.linux-x86_64-2.7/chainer/functions/normalization
copying chainer/functions/normalization/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/normalization
copying chainer/functions/normalization/batch_normalization.py -> build/lib.linux-x86_64-2.7/chainer/functions/normalization
copying chainer/functions/normalization/l2_normalization.py -> build/lib.linux-x86_64-2.7/chainer/functions/normalization
copying chainer/functions/normalization/local_response_normalization.py -> build/lib.linux-x86_64-2.7/chainer/functions/normalization
creating build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/average_pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/max_pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/roi_pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/spatial_pyramid_pooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
copying chainer/functions/pooling/unpooling_2d.py -> build/lib.linux-x86_64-2.7/chainer/functions/pooling
creating build/lib.linux-x86_64-2.7/chainer/functions/util
copying chainer/functions/util/__init__.py -> build/lib.linux-x86_64-2.7/chainer/functions/util
copying chainer/functions/util/forget.py -> build/lib.linux-x86_64-2.7/chainer/functions/util
creating build/lib.linux-x86_64-2.7/chainer/function_hooks
copying chainer/function_hooks/__init__.py -> build/lib.linux-x86_64-2.7/chainer/function_hooks
copying chainer/function_hooks/debug_print.py -> build/lib.linux-x86_64-2.7/chainer/function_hooks
copying chainer/function_hooks/timer.py -> build/lib.linux-x86_64-2.7/chainer/function_hooks
creating build/lib.linux-x86_64-2.7/chainer/iterators
copying chainer/iterators/__init__.py -> build/lib.linux-x86_64-2.7/chainer/iterators
copying chainer/iterators/multiprocess_iterator.py -> build/lib.linux-x86_64-2.7/chainer/iterators
copying chainer/iterators/serial_iterator.py -> build/lib.linux-x86_64-2.7/chainer/iterators
creating build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/__init__.py -> build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/constant.py -> build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/normal.py -> build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/orthogonal.py -> build/lib.linux-x86_64-2.7/chainer/initializers
copying chainer/initializers/uniform.py -> build/lib.linux-x86_64-2.7/chainer/initializers
creating build/lib.linux-x86_64-2.7/chainer/links
copying chainer/links/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links
creating build/lib.linux-x86_64-2.7/chainer/links/activation
copying chainer/links/activation/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/activation
copying chainer/links/activation/maxout.py -> build/lib.linux-x86_64-2.7/chainer/links/activation
copying chainer/links/activation/prelu.py -> build/lib.linux-x86_64-2.7/chainer/links/activation
creating build/lib.linux-x86_64-2.7/chainer/links/caffe
copying chainer/links/caffe/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe
copying chainer/links/caffe/caffe_function.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe
creating build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf2
copying chainer/links/caffe/protobuf2/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf2
copying chainer/links/caffe/protobuf2/caffe_pb2.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf2
creating build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf3
copying chainer/links/caffe/protobuf3/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf3
copying chainer/links/caffe/protobuf3/caffe_pb2.py -> build/lib.linux-x86_64-2.7/chainer/links/caffe/protobuf3
creating build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/bias.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/bilinear.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/convolution_nd.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/deconvolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/deconvolution_nd.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/dilated_convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/embed_id.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/gru.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/highway.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/inception.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/inceptionbn.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/linear.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/lstm.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/mlp_convolution_2d.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/n_step_lstm.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/parameter.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/peephole.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
copying chainer/links/connection/scale.py -> build/lib.linux-x86_64-2.7/chainer/links/connection
creating build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/black_out.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/crf1d.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/hierarchical_softmax.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
copying chainer/links/loss/negative_sampling.py -> build/lib.linux-x86_64-2.7/chainer/links/loss
creating build/lib.linux-x86_64-2.7/chainer/links/model
copying chainer/links/model/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/model
copying chainer/links/model/classifier.py -> build/lib.linux-x86_64-2.7/chainer/links/model
creating build/lib.linux-x86_64-2.7/chainer/links/normalization
copying chainer/links/normalization/__init__.py -> build/lib.linux-x86_64-2.7/chainer/links/normalization
copying chainer/links/normalization/batch_normalization.py -> build/lib.linux-x86_64-2.7/chainer/links/normalization
creating build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/__init__.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/ada_delta.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/ada_grad.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/adam.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/momentum_sgd.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/nesterov_ag.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/rmsprop.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/rmsprop_graves.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/sgd.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
copying chainer/optimizers/smorms3.py -> build/lib.linux-x86_64-2.7/chainer/optimizers
creating build/lib.linux-x86_64-2.7/chainer/serializers
copying chainer/serializers/__init__.py -> build/lib.linux-x86_64-2.7/chainer/serializers
copying chainer/serializers/hdf5.py -> build/lib.linux-x86_64-2.7/chainer/serializers
copying chainer/serializers/npz.py -> build/lib.linux-x86_64-2.7/chainer/serializers
creating build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/__init__.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/array.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/attr.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/condition.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/helper.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/parameterized.py -> build/lib.linux-x86_64-2.7/chainer/testing
copying chainer/testing/unary_math_function_test.py -> build/lib.linux-x86_64-2.7/chainer/testing
creating build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/__init__.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/extension.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/trainer.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/trigger.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/updater.py -> build/lib.linux-x86_64-2.7/chainer/training
copying chainer/training/util.py -> build/lib.linux-x86_64-2.7/chainer/training
creating build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/__init__.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/_snapshot.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/computational_graph.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/evaluator.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/exponential_shift.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/linear_shift.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/log_report.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/print_report.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/progress_bar.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
copying chainer/training/extensions/value_observation.py -> build/lib.linux-x86_64-2.7/chainer/training/extensions
creating build/lib.linux-x86_64-2.7/chainer/training/triggers
copying chainer/training/triggers/__init__.py -> build/lib.linux-x86_64-2.7/chainer/training/triggers
copying chainer/training/triggers/interval.py -> build/lib.linux-x86_64-2.7/chainer/training/triggers
copying chainer/training/triggers/minmax_value_trigger.py -> build/lib.linux-x86_64-2.7/chainer/training/triggers
creating build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/__init__.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/array.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/conv.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/conv_nd.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/conv_nd_kernel.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/type_check.py -> build/lib.linux-x86_64-2.7/chainer/utils
copying chainer/utils/walker_alias.py -> build/lib.linux-x86_64-2.7/chainer/utils
creating build/lib.linux-x86_64-2.7/cupy
copying cupy/__init__.py -> build/lib.linux-x86_64-2.7/cupy
copying cupy/cudnn.py -> build/lib.linux-x86_64-2.7/cupy
copying cupy/internal.py -> build/lib.linux-x86_64-2.7/cupy
creating build/lib.linux-x86_64-2.7/cupy/binary
copying cupy/binary/__init__.py -> build/lib.linux-x86_64-2.7/cupy/binary
copying cupy/binary/elementwise.py -> build/lib.linux-x86_64-2.7/cupy/binary
copying cupy/binary/packing.py -> build/lib.linux-x86_64-2.7/cupy/binary
creating build/lib.linux-x86_64-2.7/cupy/core
copying cupy/core/__init__.py -> build/lib.linux-x86_64-2.7/cupy/core
creating build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/__init__.py -> build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/basic.py -> build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/from_data.py -> build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/matrix.py -> build/lib.linux-x86_64-2.7/cupy/creation
copying cupy/creation/ranges.py -> build/lib.linux-x86_64-2.7/cupy/creation
creating build/lib.linux-x86_64-2.7/cupy/cuda
copying cupy/cuda/__init__.py -> build/lib.linux-x86_64-2.7/cupy/cuda
copying cupy/cuda/compiler.py -> build/lib.linux-x86_64-2.7/cupy/cuda
copying cupy/cuda/stream.py -> build/lib.linux-x86_64-2.7/cupy/cuda
creating build/lib.linux-x86_64-2.7/cupy/indexing
copying cupy/indexing/__init__.py -> build/lib.linux-x86_64-2.7/cupy/indexing
copying cupy/indexing/generate.py -> build/lib.linux-x86_64-2.7/cupy/indexing
copying cupy/indexing/indexing.py -> build/lib.linux-x86_64-2.7/cupy/indexing
copying cupy/indexing/insert.py -> build/lib.linux-x86_64-2.7/cupy/indexing
creating build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/__init__.py -> build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/formatting.py -> build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/npz.py -> build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/rawfile.py -> build/lib.linux-x86_64-2.7/cupy/io
copying cupy/io/text.py -> build/lib.linux-x86_64-2.7/cupy/io
creating build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/__init__.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/decomposition.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/eigenvalue.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/norm.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/product.py -> build/lib.linux-x86_64-2.7/cupy/linalg
copying cupy/linalg/solve.py -> build/lib.linux-x86_64-2.7/cupy/linalg
creating build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/__init__.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/comparison.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/content.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/ops.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/truth.py -> build/lib.linux-x86_64-2.7/cupy/logic
copying cupy/logic/type_test.py -> build/lib.linux-x86_64-2.7/cupy/logic
creating build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/__init__.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/add_remove.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/basic.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/dims.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/join.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/kind.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/rearrange.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/shape.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/split.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/tiling.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
copying cupy/manipulation/transpose.py -> build/lib.linux-x86_64-2.7/cupy/manipulation
creating build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/__init__.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/arithmetic.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/explog.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/floating.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/hyperbolic.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/misc.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/rounding.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/special.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/sumprod.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/trigonometric.py -> build/lib.linux-x86_64-2.7/cupy/math
copying cupy/math/ufunc.py -> build/lib.linux-x86_64-2.7/cupy/math
creating build/lib.linux-x86_64-2.7/cupy/padding
copying cupy/padding/__init__.py -> build/lib.linux-x86_64-2.7/cupy/padding
creating build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/__init__.py -> build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/distributions.py -> build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/generator.py -> build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/permutations.py -> build/lib.linux-x86_64-2.7/cupy/random
copying cupy/random/sample.py -> build/lib.linux-x86_64-2.7/cupy/random
creating build/lib.linux-x86_64-2.7/cupy/sorting
copying cupy/sorting/__init__.py -> build/lib.linux-x86_64-2.7/cupy/sorting
copying cupy/sorting/count.py -> build/lib.linux-x86_64-2.7/cupy/sorting
copying cupy/sorting/search.py -> build/lib.linux-x86_64-2.7/cupy/sorting
copying cupy/sorting/sort.py -> build/lib.linux-x86_64-2.7/cupy/sorting
creating build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/__init__.py -> build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/correlation.py -> build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/histogram.py -> build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/meanvar.py -> build/lib.linux-x86_64-2.7/cupy/statistics
copying cupy/statistics/order.py -> build/lib.linux-x86_64-2.7/cupy/statistics
creating build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/__init__.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/array.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/attr.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/condition.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/helper.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/hypothesis.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/testing/parameterized.py -> build/lib.linux-x86_64-2.7/cupy/testing
copying cupy/core/carray.cuh -> build/lib.linux-x86_64-2.7/cupy/core
running build_ext
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
creating /tmp/tmp4cuPhb/tmp
creating /tmp/tmp4cuPhb/tmp/tmp4cuPhb
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp4cuPhb/a.cpp -o /tmp/tmp4cuPhb/tmp/tmp4cuPhb/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp4cuPhb/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
creating /tmp/tmp2DeqJ8/tmp
creating /tmp/tmp2DeqJ8/tmp/tmp2DeqJ8
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmp2DeqJ8/a.cpp -o /tmp/tmp2DeqJ8/tmp/tmp2DeqJ8/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmp2DeqJ8/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
running install_lib
creating /usr/local/lib/python2.7/dist-packages/chainer
error: could not create ‘/usr/local/lib/python2.7/dist-packages/chainer’: Permission denied
—————————————-
Cleaning up…
Command /usr/bin/python -c “import setuptools, tokenize;__file__=’/tmp/pip_build_Chainer/chainer/setup.py’;exec(compile(getattr(tokenize, ‘open’, open)(__file__).read().replace(‘\r\n’, ‘\n’), __file__, ‘exec’))” install –record /tmp/pip-v6pzqL-record/install-record.txt –single-version-externally-managed –compile failed with error code 1 in /tmp/pip_build_Chainer/chainer
Traceback (most recent call last):
File “/usr/bin/pip”, line 9, in
load_entry_point(‘pip==1.5.4’, ‘console_scripts’, ‘pip’)()
File “/usr/lib/python2.7/dist-packages/pip/__init__.py”, line 235, in main
return command.main(cmd_args)
File “/usr/lib/python2.7/dist-packages/pip/basecommand.py”, line 161, in main
text = ‘\n’.join(complete_log)
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe2 in position 42: ordinal not in range(128)
Chainer@{PC名}:~$ sudo pip install chainer
[sudo] password for Chainer:
Downloading/unpacking chainer
Downloading chainer-1.17.0.tar.gz (1.1MB): 1.1MB downloaded
Running setup.py (path:/tmp/pip_build_root/chainer/setup.py) egg_info for package chainer
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpB9rA22/a.cpp -o /tmp/tmpB9rA22/tmp/tmpB9rA22/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmpB9rA22/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmprVXS3R/a.cpp -o /tmp/tmprVXS3R/tmp/tmprVXS3R/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmprVXS3R/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
Downloading/unpacking filelock (from chainer)
Downloading filelock-2.0.6.tar.gz
Running setup.py (path:/tmp/pip_build_root/filelock/setup.py) egg_info for package filelock
Downloading/unpacking nose (from chainer)
Downloading nose-1.3.7-py2-none-any.whl (154kB): 154kB downloaded
Requirement already satisfied (use –upgrade to upgrade): numpy>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): protobuf in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Installing collected packages: chainer, filelock, nose
Running setup.py install for chainer
Executing cythonize
Options: {‘profile’: False, ‘annotate’: False, ‘linetrace’: False, ‘no_cuda’: False}
**************************************************
*** WARNING: nvcc not in path.
*** WARNING: Please set path to nvcc.
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpXYkhCW/a.cpp -o /tmp/tmpXYkhCW/tmp/tmpXYkhCW/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmpXYkhCW/a.cpp:1:23: fatal error: cublas_v2.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cublas_v2.h’, ‘cuda.h’, ‘cuda_profiler_api.h’, ‘cuda_runtime.h’, ‘curand.h’, ‘nvToolsExt.h’]
*** WARNING: Skip installing cuda support
*** WARNING: Check your CPATH environment variable
**************************************************
Include directories: []
Library directories: []
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -c /tmp/tmpLBnYjG/a.cpp -o /tmp/tmpLBnYjG/tmp/tmpLBnYjG/a.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
/tmp/tmpLBnYjG/a.cpp:1:19: fatal error: cudnn.h: そのようなファイルやディレクトリはありません
#include
^
compilation terminated.
**************************************************
*** WARNING: Include files not found: [‘cudnn.h’]
*** WARNING: Skip installing cudnn support
*** WARNING: Check your CPATH environment variable
**************************************************
Could not find .egg-info directory in install record for chainer
Running setup.py install for filelock
Could not find .egg-info directory in install record for filelock (from chainer)
Successfully installed chainer filelock nose
Cleaning up…
Chainer@{PC名}:~$ python –version
Python 2.7.6
Chainer@{PC名}:~$ sudo apt-get install g++
パッケージリストを読み込んでいます… 完了0%
依存関係ツリーを作成しています
状態情報を読み取っています… 完了
g++ はすでに最新版です。
g++ は手動でインストールしたと設定されました。
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
libfreetype6 os-prober
これを削除するには ‘apt-get autoremove’ を利用してください。
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 27 個。
Chainer@{PC名}:~$ pip install -U setuptools
Requirement already up-to-date: setuptools in /usr/local/lib/python2.7/dist-packages
Cleaning up…
Chainer@{PC名}:~$ pip install chainer
Requirement already satisfied (use –upgrade to upgrade): chainer in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use –upgrade to upgrade): filelock in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): nose in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): numpy>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): protobuf in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Cleaning up…
Chainer@{PC名}:~$ pip install chainer -vvvv
Requirement already satisfied (use –upgrade to upgrade): chainer in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use –upgrade to upgrade): filelock in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): nose in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): numpy>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): protobuf in /usr/local/lib/python2.7/dist-packages (from chainer)
Requirement already satisfied (use –upgrade to upgrade): six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from chainer)
Cleaning up…
Removing temporary dir /tmp/pip_build_Chainer…
Chainer@{PC名}:~$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import chainer
>>> chainer.__version__
‘1.17.0’
>>> exit()
Chainer@{PC名}:~$ git clone https://github.com/pfnet/chainer.git
Cloning into ‘chainer’…
remote: Counting objects: 43684, done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 43684 (delta 27), reused 0 (delta 0), pack-reused 43626
Receiving objects: 100% (43684/43684), 13.03 MiB | 496.00 KiB/s, done.
Resolving deltas: 100% (31460/31460), done.
Checking connectivity… done.
Chainer@{PC名}:~$ python chainer/examples/mnist/train_mnist.py
GPU: -1
# unit: 1000
# Minibatch-size: 100
# epoch: 20
Downloading from http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz... Downloading from http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz... Downloading from http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz... Downloading from http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz... epoch main/loss validation/main/loss main/accuracy validation/main/accuracy epoch main/loss validation/main/loss main/accuracy validation/main/accuracy total [#.................................................] 2.50% this epoch [#########################.........................] 50.00% 300 iter, 0 epoch / 20 epochs 0.47769 iters/sec. Estimated time to finish: 6:48:12.918991.