pip install cupyでエラーが出た, python(7) error(110)

GPU搭載端末利用顛末(1日目・2日目)SSLError(SSLError(1,  [SSL: CERTIFICATE_VERIFY_FAIL ED] certificate verify failed (_ssl.c:777) ),)
https://qiita.com/kaizen_nagoya/items/149cae9df7adbf2df1cc

pip install janomeが動いた。

Windows 7(64) 

```shell-session:Windows
> pip install cupy > error
　ここに出たエラーは下記画像。
> type error
Collecting cupy
  Using cached cupy-2.5.0.tar.gz
    Complete output from command python setup.py egg_info:
    a.cpp
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\cuda_runtime.h: warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
    c:\program files\nvidia gpu computing toolkit\cuda\v9.1\include\cuda_runtime_api.h(1950): warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
    c:\program files\nvidia gpu computing toolkit\cuda\v9.1\include\cuda_runtime_api.h(1950): warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
    C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\cuda_runtime.h: warning C4819: The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss
    LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
    **************************************************
    *** WARNING: Cannot find nvToolsExt. nvtx was disabled.
    **************************************************
    Options: {'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
    Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\include', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\include']
    Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\lib\\x64', 'C:\\Program Files\\NVIDIA Corporation\\NvToolsExt\\lib\\x64']
    Cannot build a stub file.
    Original error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe' failed with exit status 1104
    **************************************************
    *** WARNING: Include files not found: ['cublas_v2.h', 'cuda.h', 'cuda_profiler_api.h', 'cuda_runtime.h', 'curand.h', 'cusparse.h', 'nvrtc.h']
    *** WARNING: Skip installing cuda support
    *** WARNING: Check your CFLAGS environment variable
    **************************************************
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\YADASH~1\AppData\Local\Temp\pip-build-1r0jw0zm\cupy\setup.py", line 32, in <module>
        ext_modules = cupy_setup_build.get_ext_modules()
      File "C:\Users\YADASH~1\AppData\Local\Temp\pip-build-1r0jw0zm\cupy\cupy_setup_build.py", line 385, in get_ext_modules
        extensions = make_extensions(arg_options, compiler, use_cython)
      File "C:\Users\YADASH~1\AppData\Local\Temp\pip-build-1r0jw0zm\cupy\cupy_setup_build.py", line 275, in make_extensions
        raise Exception('Your CUDA environment is invalid. '
    Exception: Your CUDA environment is invalid. Please check above error log.
```

<img width="617" alt="SETUPERROR.png" src="https://qiita-image-store.s3.amazonaws.com/0/51423/b21b6d3f-1d3e-26b2-5f2e-43f100bd930b.png">


```shell-session:Windows
> pip install --upgrade pip
Requirement already up-to-date: pip in c:\users\yasushi kajita\anaconda3\lib\site-packages
```

```shell-session:Windows
> pip install chainer
Requirement already satisfied: chainer in c:\users\yasushi kajita\anaconda3\lib\site-packages
Requirement already satisfied: numpy>=1.9.0 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from chainer)
Requirement already satisfied: filelock in c:\users\yasushi kajita\anaconda3\lib\site-packages (from chainer)
Requirement already satisfied: protobuf>=3.0.0 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from chainer)
Requirement already satisfied: six>=1.9.0 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from chainer)
Requirement already satisfied: setuptools in c:\users\yasushi kajita\anaconda3\lib\site-packages (from protobuf>=3.0.0->chainer)
```

```shell-session:Windows
> pip install pycuda
Collecting pycuda
  Using cached pycuda-2017.1.1.tar.gz
Collecting pytools>=2011.2 (from pycuda)
  Downloading pytools-2018.3.tar.gz (57kB)
Requirement already satisfied: pytest>=2 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pycuda)
Requirement already satisfied: decorator>=3.2.0 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pycuda)
Collecting appdirs>=1.4.0 (from pycuda)
  Downloading appdirs-1.4.3-py2.py3-none-any.whl
Collecting mako (from pycuda)
  Downloading Mako-1.0.7.tar.gz (564kB)
Requirement already satisfied: six>=1.8.0 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pytools>=2011.2->pycuda)
Requirement already satisfied: numpy>=1.6.0 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pytools>=2011.2->pycuda)
Requirement already satisfied: py>=1.5.0 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pytest>=2->pycuda)
Requirement already satisfied: setuptools in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pytest>=2->pycuda)
Requirement already satisfied: attrs>=17.2.0 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pytest>=2->pycuda)
Requirement already satisfied: pluggy<0.7,>=0.5 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pytest>=2->pycuda)
Requirement already satisfied: colorama in c:\users\yasushi kajita\anaconda3\lib\site-packages (from pytest>=2->pycuda)
Requirement already satisfied: MarkupSafe>=0.9.2 in c:\users\yasushi kajita\anaconda3\lib\site-packages (from mako->pycuda)
Building wheels for collected packages: pycuda, pytools, mako
  Running setup.py bdist_wheel for pycuda: started
  Running setup.py bdist_wheel for pycuda: finished with status 'error'
  Complete output from command "c:\users\yasushi kajita\anaconda3\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\YASUSH~1\\AppData\\Local\\Temp\\pip-build-1v78mxk0\\pycuda\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\YASUSH~1\AppData\Local\Temp\tmpj50ajeb1pip-wheel- --python-tag cp36:
  *************************************************************
  *** I have detected that you have not run configure.py.
  *************************************************************
  *** Additionally, no global config files were found.
  *** I will go ahead with the default configuration.
  *** In all likelihood, this will not work out.
  ***
  *** See README_SETUP.txt for more information.
  ***
  *** If the build does fail, just re-run configure.py with the
  *** correct arguments, and then retry. Good luck!
  *************************************************************
  *** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
  *************************************************************
  Continuing in 10 seconds...   
  Continuing in 9 seconds...   
  Continuing in 8 seconds...   
  Continuing in 7 seconds...   
  Continuing in 6 seconds...   
  Continuing in 5 seconds...   
  Continuing in 4 seconds...   
  Continuing in 3 seconds...   
  Continuing in 2 seconds...   
  Continuing in 1 seconds...
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.6
  creating build\lib.win-amd64-3.6\pycuda
  copying pycuda\autoinit.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\characterize.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\compiler.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\cumath.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\curandom.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\debug.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\driver.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\elementwise.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\gpuarray.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\reduction.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\scan.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\tools.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\_cluda.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\_mymako.py -> build\lib.win-amd64-3.6\pycuda
  copying pycuda\__init__.py -> build\lib.win-amd64-3.6\pycuda
  creating build\lib.win-amd64-3.6\pycuda\gl
  copying pycuda\gl\autoinit.py -> build\lib.win-amd64-3.6\pycuda\gl
  copying pycuda\gl\__init__.py -> build\lib.win-amd64-3.6\pycuda\gl
  creating build\lib.win-amd64-3.6\pycuda\sparse
  copying pycuda\sparse\cg.py -> build\lib.win-amd64-3.6\pycuda\sparse
  copying pycuda\sparse\coordinate.py -> build\lib.win-amd64-3.6\pycuda\sparse
  copying pycuda\sparse\inner.py -> build\lib.win-amd64-3.6\pycuda\sparse
  copying pycuda\sparse\operator.py -> build\lib.win-amd64-3.6\pycuda\sparse
  copying pycuda\sparse\packeted.py -> build\lib.win-amd64-3.6\pycuda\sparse
  copying pycuda\sparse\pkt_build.py -> build\lib.win-amd64-3.6\pycuda\sparse
  copying pycuda\sparse\__init__.py -> build\lib.win-amd64-3.6\pycuda\sparse
  creating build\lib.win-amd64-3.6\pycuda\compyte
  copying pycuda\compyte\array.py -> build\lib.win-amd64-3.6\pycuda\compyte
  copying pycuda\compyte\dtypes.py -> build\lib.win-amd64-3.6\pycuda\compyte
  copying pycuda\compyte\__init__.py -> build\lib.win-amd64-3.6\pycuda\compyte
  running egg_info
  writing pycuda.egg-info\PKG-INFO
  writing dependency_links to pycuda.egg-info\dependency_links.txt
  writing requirements to pycuda.egg-info\requires.txt
  writing top-level names to pycuda.egg-info\top_level.txt
  reading manifest file 'pycuda.egg-info\SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching 'doc\source\_static\*.css'
  warning: no files found matching 'doc\source\_templates\*.html'
  warning: no files found matching '*.cpp' under directory 'bpl-subset\bpl_subset\boost'
  warning: no files found matching '*.html' under directory 'bpl-subset\bpl_subset\boost'
  warning: no files found matching '*.inl' under directory 'bpl-subset\bpl_subset\boost'
  warning: no files found matching '*.txt' under directory 'bpl-subset\bpl_subset\boost'
  warning: no files found matching '*.h' under directory 'bpl-subset\bpl_subset\libs'
  warning: no files found matching '*.ipp' under directory 'bpl-subset\bpl_subset\libs'
  warning: no files found matching '*.pl' under directory 'bpl-subset\bpl_subset\libs'
  writing manifest file 'pycuda.egg-info\SOURCES.txt'
  creating build\lib.win-amd64-3.6\pycuda\cuda
  copying pycuda\cuda\pycuda-complex-impl.hpp -> build\lib.win-amd64-3.6\pycuda\cuda
  copying pycuda\cuda\pycuda-complex.hpp -> build\lib.win-amd64-3.6\pycuda\cuda
  copying pycuda\cuda\pycuda-helpers.hpp -> build\lib.win-amd64-3.6\pycuda\cuda
  running build_ext
  building '_driver' extension
  creating build\temp.win-amd64-3.6
  creating build\temp.win-amd64-3.6\Release
  creating build\temp.win-amd64-3.6\Release\src
  creating build\temp.win-amd64-3.6\Release\src\cpp
  creating build\temp.win-amd64-3.6\Release\src\wrapper
  creating build\temp.win-amd64-3.6\Release\bpl-subset
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\python
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\python\src
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\python\src\converter
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\python\src\object
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\smart_ptr
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\smart_ptr\src
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\system
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\system\src
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\thread
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\thread\src
  creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\thread\src\win32
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_DONT_USE_CHRONO=1 -DPYGPU_PACKAGE=pycuda -DPYGPU_PYCUDA=1 -DHAVE_CURAND=1 -Isrc/cpp -Ibpl-subset/bpl_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\users\yasushi kajita\anaconda3\lib\site-packages\numpy\core\include" "-Ic:\users\yasushi kajita\anaconda3\lib\site-packages\numpy\core\include" "-Ic:\users\yasushi kajita\anaconda3\lib\site-packages\numpy\core\include" "-Ic:\users\yasushi kajita\anaconda3\include" "-Ic:\users\yasushi kajita\anaconda3\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt" /EHsc /Tpsrc/cpp/cuda.cpp /Fobuild\temp.win-amd64-3.6\Release\src/cpp/cuda.obj /EHsc
  cuda.cpp
  Unknown compiler version - please run the configure tests and report the results
  c:\users\yasushi kajita\anaconda3\include\pyconfig.h(222): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
  
  ----------------------------------------
  Running setup.py clean for pycuda
  Running setup.py bdist_wheel for pytools: started
  Running setup.py bdist_wheel for pytools: finished with status 'done'
  Stored in directory: C:\Users\Yasushi Kajita\AppData\Local\pip\Cache\wheels\69\86\15\2e6df1cae3616d34d95a9f475275a29639c83d33f176e461d8
  Running setup.py bdist_wheel for mako: started
  Running setup.py bdist_wheel for mako: finished with status 'done'
  Stored in directory: C:\Users\Yasushi Kajita\AppData\Local\pip\Cache\wheels\33\bf\8f\036f36c35e0e3c63a4685e306bce6b00b6349fec5b0947586e
Successfully built pytools mako
Failed to build pycuda
Installing collected packages: appdirs, pytools, mako, pycuda
  Running setup.py install for pycuda: started
    Running setup.py install for pycuda: finished with status 'error'
    Complete output from command "c:\users\yasushi kajita\anaconda3\python.exe" -u -c "import setuptools, tokenize;__file__='C:\\Users\\YASUSH~1\\AppData\\Local\\Temp\\pip-build-1v78mxk0\\pycuda\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\YASUSH~1\AppData\Local\Temp\pip-mvz41ee1-record\install-record.txt --single-version-externally-managed --compile:
    *************************************************************
    *** I have detected that you have not run configure.py.
    *************************************************************
    *** Additionally, no global config files were found.
    *** I will go ahead with the default configuration.
    *** In all likelihood, this will not work out.
    ***
    *** See README_SETUP.txt for more information.
    ***
    *** If the build does fail, just re-run configure.py with the
    *** correct arguments, and then retry. Good luck!
    *************************************************************
    *** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
    *************************************************************
    Continuing in 10 seconds...   
    Continuing in 9 seconds...   
    Continuing in 8 seconds...   
    Continuing in 7 seconds...   
    Continuing in 6 seconds...   
    Continuing in 5 seconds...   
    Continuing in 4 seconds...   
    Continuing in 3 seconds...   
    Continuing in 2 seconds...   
    Continuing in 1 seconds...
    running install
    running build
    running build_py
    creating build
    creating build\lib.win-amd64-3.6
    creating build\lib.win-amd64-3.6\pycuda
    copying pycuda\autoinit.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\characterize.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\compiler.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\cumath.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\curandom.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\debug.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\driver.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\elementwise.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\gpuarray.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\reduction.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\scan.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\tools.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\_cluda.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\_mymako.py -> build\lib.win-amd64-3.6\pycuda
    copying pycuda\__init__.py -> build\lib.win-amd64-3.6\pycuda
    creating build\lib.win-amd64-3.6\pycuda\gl
    copying pycuda\gl\autoinit.py -> build\lib.win-amd64-3.6\pycuda\gl
    copying pycuda\gl\__init__.py -> build\lib.win-amd64-3.6\pycuda\gl
    creating build\lib.win-amd64-3.6\pycuda\sparse
    copying pycuda\sparse\cg.py -> build\lib.win-amd64-3.6\pycuda\sparse
    copying pycuda\sparse\coordinate.py -> build\lib.win-amd64-3.6\pycuda\sparse
    copying pycuda\sparse\inner.py -> build\lib.win-amd64-3.6\pycuda\sparse
    copying pycuda\sparse\operator.py -> build\lib.win-amd64-3.6\pycuda\sparse
    copying pycuda\sparse\packeted.py -> build\lib.win-amd64-3.6\pycuda\sparse
    copying pycuda\sparse\pkt_build.py -> build\lib.win-amd64-3.6\pycuda\sparse
    copying pycuda\sparse\__init__.py -> build\lib.win-amd64-3.6\pycuda\sparse
    creating build\lib.win-amd64-3.6\pycuda\compyte
    copying pycuda\compyte\array.py -> build\lib.win-amd64-3.6\pycuda\compyte
    copying pycuda\compyte\dtypes.py -> build\lib.win-amd64-3.6\pycuda\compyte
    copying pycuda\compyte\__init__.py -> build\lib.win-amd64-3.6\pycuda\compyte
    running egg_info
    writing pycuda.egg-info\PKG-INFO
    writing dependency_links to pycuda.egg-info\dependency_links.txt
    writing requirements to pycuda.egg-info\requires.txt
    writing top-level names to pycuda.egg-info\top_level.txt
    reading manifest file 'pycuda.egg-info\SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'doc\source\_static\*.css'
    warning: no files found matching 'doc\source\_templates\*.html'
    warning: no files found matching '*.cpp' under directory 'bpl-subset\bpl_subset\boost'
    warning: no files found matching '*.html' under directory 'bpl-subset\bpl_subset\boost'
    warning: no files found matching '*.inl' under directory 'bpl-subset\bpl_subset\boost'
    warning: no files found matching '*.txt' under directory 'bpl-subset\bpl_subset\boost'
    warning: no files found matching '*.h' under directory 'bpl-subset\bpl_subset\libs'
    warning: no files found matching '*.ipp' under directory 'bpl-subset\bpl_subset\libs'
    warning: no files found matching '*.pl' under directory 'bpl-subset\bpl_subset\libs'
    writing manifest file 'pycuda.egg-info\SOURCES.txt'
    creating build\lib.win-amd64-3.6\pycuda\cuda
    copying pycuda\cuda\pycuda-complex-impl.hpp -> build\lib.win-amd64-3.6\pycuda\cuda
    copying pycuda\cuda\pycuda-complex.hpp -> build\lib.win-amd64-3.6\pycuda\cuda
    copying pycuda\cuda\pycuda-helpers.hpp -> build\lib.win-amd64-3.6\pycuda\cuda
    running build_ext
    building '_driver' extension
    creating build\temp.win-amd64-3.6
    creating build\temp.win-amd64-3.6\Release
    creating build\temp.win-amd64-3.6\Release\src
    creating build\temp.win-amd64-3.6\Release\src\cpp
    creating build\temp.win-amd64-3.6\Release\src\wrapper
    creating build\temp.win-amd64-3.6\Release\bpl-subset
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\python
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\python\src
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\python\src\converter
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\python\src\object
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\smart_ptr
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\smart_ptr\src
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\system
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\system\src
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\thread
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\thread\src
    creating build\temp.win-amd64-3.6\Release\bpl-subset\bpl_subset\libs\thread\src\win32
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_DONT_USE_CHRONO=1 -DPYGPU_PACKAGE=pycuda -DPYGPU_PYCUDA=1 -DHAVE_CURAND=1 -Isrc/cpp -Ibpl-subset/bpl_subset "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-Ic:\users\yasushi kajita\anaconda3\lib\site-packages\numpy\core\include" "-Ic:\users\yasushi kajita\anaconda3\lib\site-packages\numpy\core\include" "-Ic:\users\yasushi kajita\anaconda3\lib\site-packages\numpy\core\include" "-Ic:\users\yasushi kajita\anaconda3\include" "-Ic:\users\yasushi kajita\anaconda3\include" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include" "-IC:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt" /EHsc /Tpsrc/cpp/cuda.cpp /Fobuild\temp.win-amd64-3.6\Release\src/cpp/cuda.obj /EHsc
    cuda.cpp
    Unknown compiler version - please run the configure tests and report the results
    c:\users\yasushi kajita\anaconda3\include\pyconfig.h(222): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
```

# 事情

「ゼロから作るDeep Learning ２自然言語処理編」を読む前に読んで置くとよい資料とプログラム
https://qiita.com/kaizen_nagoya/items/537b1810265bbbc70e73

pythonで動作確認中のこと。
今、手元に機材がないため、作業はできない。
警告の種類が微妙に違うのが気になる。

# 参考文献

## Windows
Win + Python3.6で「pip install」を実行したときに「UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83」と表示される。
https://qiita.com/ruteshi_SI_shiteru/items/be6a58276bdbd67dc096

Windows10 に pycuda をインストール
https://qiita.com/zinziroge/items/a55eda9ae0a8fdfac304

Windows7 64bitにPyCUDAとTheanoをインストールしてGPU計算する
https://qiita.com/masato/items/713fa8876e50a65d575c

Chainer(Cupy)をVisual Studio Express 2015 で使う方法
https://qiita.com/swd/items/61e4965e798c11292ea8

Windows版Anacondaを使わずにChainerをGPUで動かしてみた
https://qiita.com/K_M95/items/0c4c51645e9c1d28af0e

Windows10にCUDA9.0とPyCUDAをインストールしてテストが動きcupyインストールに苦労してChainerのMNISTチュートリアルでGPU使用で速度が約6倍となるのを確かめるまで
https://qiita.com/ruteshi_SI_shiteru/items/be6a58276bdbd67dc096

## Linux, gccの話。
chainer 1.20のイントールしてもimport cupyできない時のお助け
https://qiita.com/mikeneko_taisho/items/7ab82d9d937a35c1755c

## macOS

手元にあるGPUがない機材で同じコマンドを投入

```shell-session:macOS_shell
$ pip install cupy
Collecting cupy
  Downloading cupy-2.5.0.tar.gz (1.8MB)
    100% |████████████████████████████████| 1.8MB 358kB/s 
    Complete output from command python setup.py egg_info:
    cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
    /var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/tmpqs8wjgoq/a.cpp:1:23: fatal error: cublas_v2.h: No such file or directory
     #include <cublas_v2.h>
                           ^
    compilation terminated.
    Options: {'profile': False, 'linetrace': False, 'annotate': False, 'no_cuda': False}
    **************************************************
    *** WARNING: nvcc not in path.
    *** WARNING: Please set path to nvcc.
    **************************************************
    Include directories: []
    Library directories: []
    command 'gcc' failed with exit status 1
    **************************************************
    *** WARNING: Include files not found: ['cublas_v2.h', 'cuda.h', 'cuda_profiler_api.h', 'cuda_runtime.h', 'curand.h', 'cusparse.h', 'nvrtc.h', 'nvToolsExt.h']
    *** WARNING: Skip installing cuda support
    *** WARNING: Check your CFLAGS environment variable
    **************************************************
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-build-8dyhn8_d/cupy/setup.py", line 32, in <module>
        ext_modules = cupy_setup_build.get_ext_modules()
      File "/private/var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-build-8dyhn8_d/cupy/cupy_setup_build.py", line 385, in get_ext_modules
        extensions = make_extensions(arg_options, compiler, use_cython)
      File "/private/var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-build-8dyhn8_d/cupy/cupy_setup_build.py", line 275, 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 /private/var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-build-8dyhn8_d/cupy/
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
```

```shell-session:macOS_shell
$ pip install --upgrade pip
Collecting pip
  Downloading pip-9.0.3-py2.py3-none-any.whl (1.4MB)
    100% |████████████████████████████████| 1.4MB 457kB/s 
Installing collected packages: pip
  Found existing installation: pip 9.0.1
    Uninstalling pip-9.0.1:
      Successfully uninstalled pip-9.0.1
Successfully installed pip-9.0.3
```

肝心の機材がないとき、周辺資料を整理。

```shell-session:macOS_shell
$ pip install chainer
Collecting chainer
  Downloading chainer-3.5.0.tar.gz (353kB)
    100% |████████████████████████████████| 358kB 1.3MB/s 
Collecting filelock (from chainer)
  Downloading filelock-3.0.4.tar.gz
Requirement already satisfied: numpy>=1.9.0 in /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from chainer)
Collecting protobuf>=3.0.0 (from chainer)
  Downloading protobuf-3.5.2.post1-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (1.2MB)
    100% |████████████████████████████████| 1.2MB 521kB/s 
Requirement already satisfied: six>=1.9.0 in /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from chainer)
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/site-packages (from protobuf>=3.0.0->chainer)
Building wheels for collected packages: chainer, filelock
  Running setup.py bdist_wheel for chainer ... done
  Stored in directory: /Users/ogawakiyoshi/Library/Caches/pip/wheels/48/15/6f/4818d80aec8502878743e9d7069045dd16b7c807740cfec43b
  Running setup.py bdist_wheel for filelock ... done
  Stored in directory: /Users/ogawakiyoshi/Library/Caches/pip/wheels/5f/5e/8a/9f1eb481ffbfff95d5f550570c1dbeff3c1785c8383c12c62b
Successfully built chainer filelock
Installing collected packages: filelock, protobuf, chainer
Successfully installed chainer-3.5.0 filelock-3.0.4 protobuf-3.5.2.post1
```
予習・復習

```shell-session:macOS_shell
$ pip install pycuda
Collecting pycuda
  Downloading pycuda-2017.1.1.tar.gz (1.6MB)
    100% |████████████████████████████████| 1.6MB 407kB/s 
Collecting pytools>=2011.2 (from pycuda)
  Downloading pytools-2018.3.tar.gz (57kB)
    100% |████████████████████████████████| 61kB 4.5MB/s 
Requirement already satisfied: pytest>=2 in /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from pycuda)
Requirement already satisfied: decorator>=3.2.0 in /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from pycuda)
Collecting appdirs>=1.4.0 (from pycuda)
  Downloading appdirs-1.4.3-py2.py3-none-any.whl
Collecting mako (from pycuda)
  Downloading Mako-1.0.7.tar.gz (564kB)
    100% |████████████████████████████████| 573kB 988kB/s 
Requirement already satisfied: six>=1.8.0 in /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from pytools>=2011.2->pycuda)
Requirement already satisfied: numpy>=1.6.0 in /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from pytools>=2011.2->pycuda)
Requirement already satisfied: py>=1.4.29 in /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from pytest>=2->pycuda)
Requirement already satisfied: MarkupSafe>=0.9.2 in /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages (from mako->pycuda)
Building wheels for collected packages: pycuda, pytools, mako
  Running setup.py bdist_wheel for pycuda ... error
  Complete output from command /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-build-ucoxx1_x/pycuda/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/tmpcop1rklgpip-wheel- --python-tag cp36:
  ***************************************************************
  *** WARNING: nvcc not in path.
  *** May need to set CUDA_INC_DIR for installation to succeed.
  ***************************************************************
  *************************************************************
  *** I have detected that you have not run configure.py.
  *************************************************************
  *** Additionally, no global config files were found.
  *** I will go ahead with the default configuration.
  *** In all likelihood, this will not work out.
  ***
  *** See README_SETUP.txt for more information.
  ***
  *** If the build does fail, just re-run configure.py with the
  *** correct arguments, and then retry. Good luck!
  *************************************************************
  *** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
  *************************************************************
  Continuing in 1 seconds...    
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.7-x86_64-3.6
  creating build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/compiler.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/reduction.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/tools.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/elementwise.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/characterize.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/cumath.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/autoinit.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/debug.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/curandom.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/gpuarray.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/scan.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/_cluda.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/_mymako.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  copying pycuda/driver.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
  creating build/lib.macosx-10.7-x86_64-3.6/pycuda/gl
  copying pycuda/gl/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/gl
  copying pycuda/gl/autoinit.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/gl
  creating build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
  copying pycuda/sparse/cg.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
  copying pycuda/sparse/inner.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
  copying pycuda/sparse/packeted.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
  copying pycuda/sparse/operator.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
  copying pycuda/sparse/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
  copying pycuda/sparse/pkt_build.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
  copying pycuda/sparse/coordinate.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
  creating build/lib.macosx-10.7-x86_64-3.6/pycuda/compyte
  copying pycuda/compyte/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/compyte
  copying pycuda/compyte/dtypes.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/compyte
  copying pycuda/compyte/array.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/compyte
  running egg_info
  writing pycuda.egg-info/PKG-INFO
  writing dependency_links to pycuda.egg-info/dependency_links.txt
  writing requirements to pycuda.egg-info/requires.txt
  writing top-level names to pycuda.egg-info/top_level.txt
  reading manifest file 'pycuda.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching 'doc/source/_static/*.css'
  warning: no files found matching 'doc/source/_templates/*.html'
  warning: no files found matching '*.cpp' under directory 'bpl-subset/bpl_subset/boost'
  warning: no files found matching '*.html' under directory 'bpl-subset/bpl_subset/boost'
  warning: no files found matching '*.inl' under directory 'bpl-subset/bpl_subset/boost'
  warning: no files found matching '*.txt' under directory 'bpl-subset/bpl_subset/boost'
  warning: no files found matching '*.h' under directory 'bpl-subset/bpl_subset/libs'
  warning: no files found matching '*.ipp' under directory 'bpl-subset/bpl_subset/libs'
  warning: no files found matching '*.pl' under directory 'bpl-subset/bpl_subset/libs'
  writing manifest file 'pycuda.egg-info/SOURCES.txt'
  creating build/lib.macosx-10.7-x86_64-3.6/pycuda/cuda
  copying pycuda/cuda/pycuda-complex-impl.hpp -> build/lib.macosx-10.7-x86_64-3.6/pycuda/cuda
  copying pycuda/cuda/pycuda-complex.hpp -> build/lib.macosx-10.7-x86_64-3.6/pycuda/cuda
  copying pycuda/cuda/pycuda-helpers.hpp -> build/lib.macosx-10.7-x86_64-3.6/pycuda/cuda
  running build_ext
  building '_driver' extension
  creating build/temp.macosx-10.7-x86_64-3.6
  creating build/temp.macosx-10.7-x86_64-3.6/src
  creating build/temp.macosx-10.7-x86_64-3.6/src/cpp
  creating build/temp.macosx-10.7-x86_64-3.6/src/wrapper
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/python
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/python/src
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/python/src/converter
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/python/src/object
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/smart_ptr
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/smart_ptr/src
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/system
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/system/src
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/thread
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/thread/src
  creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/thread/src/pthread
  gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fwrapv -Wall -O3 -DNDEBUG -I/usr/local/opt/llvm/include:/opt/X11/include:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_DONT_USE_CHRONO=1 -DPYGPU_PACKAGE=pycuda -DPYGPU_PYCUDA=1 -DHAVE_CURAND=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages/numpy/core/include -I/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages/numpy/core/include -I/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages/numpy/core/include -I/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/include/python3.6m -c src/cpp/cuda.cpp -o build/temp.macosx-10.7-x86_64-3.6/src/cpp/cuda.o
  In file included from src/cpp/cuda.cpp:1:0:
  src/cpp/cuda.hpp:14:18: fatal error: cuda.h: No such file or directory
   #include <cuda.h>
                    ^
  compilation terminated.
  error: command 'gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for pycuda
  Running setup.py clean for pycuda
  Running setup.py bdist_wheel for pytools ... done
  Stored in directory: /Users/ogawakiyoshi/Library/Caches/pip/wheels/69/86/15/2e6df1cae3616d34d95a9f475275a29639c83d33f176e461d8
  Running setup.py bdist_wheel for mako ... done
  Stored in directory: /Users/ogawakiyoshi/Library/Caches/pip/wheels/33/bf/8f/036f36c35e0e3c63a4685e306bce6b00b6349fec5b0947586e
Successfully built pytools mako
Failed to build pycuda
Installing collected packages: appdirs, pytools, mako, pycuda
  Running setup.py install for pycuda ... error
    Complete output from command /Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-build-ucoxx1_x/pycuda/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-r3jzrjox-record/install-record.txt --single-version-externally-managed --compile:
    ***************************************************************
    *** WARNING: nvcc not in path.
    *** May need to set CUDA_INC_DIR for installation to succeed.
    ***************************************************************
    *************************************************************
    *** I have detected that you have not run configure.py.
    *************************************************************
    *** Additionally, no global config files were found.
    *** I will go ahead with the default configuration.
    *** In all likelihood, this will not work out.
    ***
    *** See README_SETUP.txt for more information.
    ***
    *** If the build does fail, just re-run configure.py with the
    *** correct arguments, and then retry. Good luck!
    *************************************************************
    *** HIT Ctrl-C NOW IF THIS IS NOT WHAT YOU WANT
    *************************************************************
    Continuing in 1 seconds...    
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.7-x86_64-3.6
    creating build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/compiler.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/reduction.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/tools.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/elementwise.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/characterize.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/cumath.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/autoinit.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/debug.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/curandom.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/gpuarray.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/scan.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/_cluda.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/_mymako.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    copying pycuda/driver.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda
    creating build/lib.macosx-10.7-x86_64-3.6/pycuda/gl
    copying pycuda/gl/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/gl
    copying pycuda/gl/autoinit.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/gl
    creating build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
    copying pycuda/sparse/cg.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
    copying pycuda/sparse/inner.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
    copying pycuda/sparse/packeted.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
    copying pycuda/sparse/operator.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
    copying pycuda/sparse/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
    copying pycuda/sparse/pkt_build.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
    copying pycuda/sparse/coordinate.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/sparse
    creating build/lib.macosx-10.7-x86_64-3.6/pycuda/compyte
    copying pycuda/compyte/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/compyte
    copying pycuda/compyte/dtypes.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/compyte
    copying pycuda/compyte/array.py -> build/lib.macosx-10.7-x86_64-3.6/pycuda/compyte
    running egg_info
    writing pycuda.egg-info/PKG-INFO
    writing dependency_links to pycuda.egg-info/dependency_links.txt
    writing requirements to pycuda.egg-info/requires.txt
    writing top-level names to pycuda.egg-info/top_level.txt
    reading manifest file 'pycuda.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'doc/source/_static/*.css'
    warning: no files found matching 'doc/source/_templates/*.html'
    warning: no files found matching '*.cpp' under directory 'bpl-subset/bpl_subset/boost'
    warning: no files found matching '*.html' under directory 'bpl-subset/bpl_subset/boost'
    warning: no files found matching '*.inl' under directory 'bpl-subset/bpl_subset/boost'
    warning: no files found matching '*.txt' under directory 'bpl-subset/bpl_subset/boost'
    warning: no files found matching '*.h' under directory 'bpl-subset/bpl_subset/libs'
    warning: no files found matching '*.ipp' under directory 'bpl-subset/bpl_subset/libs'
    warning: no files found matching '*.pl' under directory 'bpl-subset/bpl_subset/libs'
    writing manifest file 'pycuda.egg-info/SOURCES.txt'
    creating build/lib.macosx-10.7-x86_64-3.6/pycuda/cuda
    copying pycuda/cuda/pycuda-complex-impl.hpp -> build/lib.macosx-10.7-x86_64-3.6/pycuda/cuda
    copying pycuda/cuda/pycuda-complex.hpp -> build/lib.macosx-10.7-x86_64-3.6/pycuda/cuda
    copying pycuda/cuda/pycuda-helpers.hpp -> build/lib.macosx-10.7-x86_64-3.6/pycuda/cuda
    running build_ext
    building '_driver' extension
    creating build/temp.macosx-10.7-x86_64-3.6
    creating build/temp.macosx-10.7-x86_64-3.6/src
    creating build/temp.macosx-10.7-x86_64-3.6/src/cpp
    creating build/temp.macosx-10.7-x86_64-3.6/src/wrapper
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/python
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/python/src
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/python/src/converter
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/python/src/object
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/smart_ptr
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/smart_ptr/src
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/system
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/system/src
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/thread
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/thread/src
    creating build/temp.macosx-10.7-x86_64-3.6/bpl-subset/bpl_subset/libs/thread/src/pthread
    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fwrapv -Wall -O3 -DNDEBUG -I/usr/local/opt/llvm/include:/opt/X11/include:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -DBOOST_ALL_NO_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION=1 -DBOOST_PYTHON_SOURCE=1 -Dboost=pycudaboost -DBOOST_THREAD_DONT_USE_CHRONO=1 -DPYGPU_PACKAGE=pycuda -DPYGPU_PYCUDA=1 -DHAVE_CURAND=1 -Isrc/cpp -Ibpl-subset/bpl_subset -I/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages/numpy/core/include -I/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages/numpy/core/include -I/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/lib/python3.6/site-packages/numpy/core/include -I/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/include/python3.6m -c src/cpp/cuda.cpp -o build/temp.macosx-10.7-x86_64-3.6/src/cpp/cuda.o
    In file included from src/cpp/cuda.cpp:1:0:
    src/cpp/cuda.hpp:14:18: fatal error: cuda.h: No such file or directory
     #include <cuda.h>
                      ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    
    ----------------------------------------
Command "/Users/ogawakiyoshi/.pyenv/versions/anaconda3-4.3.0/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-build-ucoxx1_x/pycuda/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-r3jzrjox-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/sr/wkn5l4_50ql50_lkt5x7glnw0000gn/T/pip-build-ucoxx1_x/pycuda/
```


## 一覧
物理記事　上位100
https://qiita.com/kaizen_nagoya/items/66e90fe31fbe3facc6ff

量子(0) 計算機, 量子力学 
https://qiita.com/kaizen_nagoya/items/1cd954cb0eed92879fd4

数学関連記事１００
https://qiita.com/kaizen_nagoya/items/d8dadb49a6397e854c6d

言語・文学記事　１００
https://qiita.com/kaizen_nagoya/items/42d58d5ef7fb53c407d6

医工連携関連記事一覧
https://qiita.com/kaizen_nagoya/items/6ab51c12ba51bc260a82

自動車　記事　１００
https://qiita.com/kaizen_nagoya/items/f7f0b9ab36569ad409c5

通信記事１００
https://qiita.com/kaizen_nagoya/items/1d67de5e1cd207b05ef7

日本語（０）一欄
https://qiita.com/kaizen_nagoya/items/7498dcfa3a9ba7fd1e68

英語(0) 一覧
https://qiita.com/kaizen_nagoya/items/680e3f5cbf9430486c7d

転職(0)一覧
https://qiita.com/kaizen_nagoya/items/f77520d378d33451d6fe

仮説（0）一覧（目標100現在40）
https://qiita.com/kaizen_nagoya/items/f000506fe1837b3590df

Qiita(0)Qiita関連記事一覧（自分）
https://qiita.com/kaizen_nagoya/items/58db5fbf036b28e9dfa6

鉄道（０）鉄道のシステム考察はてっちゃんがてつだってくれる
https://qiita.com/kaizen_nagoya/items/26bda595f341a27901a0

安全（0）安全工学シンポジウムに向けて: 21
https://qiita.com/kaizen_nagoya/items/c5d78f3def8195cb2409

一覧の一覧( The directory of directories of mine.) Qiita(100)
https://qiita.com/kaizen_nagoya/items/7eb0e006543886138f39

Ethernet 記事一覧　Ethernet(0)
https://qiita.com/kaizen_nagoya/items/88d35e99f74aefc98794

Wireshark 一覧 wireshark(0)、Ethernet(48) 
https://qiita.com/kaizen_nagoya/items/fbed841f61875c4731d0

線網（Wi-Fi）空中線(antenna)(0) 記事一覧(118/300目標)
https://qiita.com/kaizen_nagoya/items/5e5464ac2b24bd4cd001

OSEK OS設計の基礎　OSEK(100)
https://qiita.com/kaizen_nagoya/items/7528a22a14242d2d58a3

Error一覧 error(0)
https://qiita.com/kaizen_nagoya/items/48b6cbc8d68eae2c42b8

++ Support(0)　
https://qiita.com/kaizen_nagoya/items/8720d26f762369a80514

Coding(0) Rules, C, Secure, MISRA and so on
https://qiita.com/kaizen_nagoya/items/400725644a8a0e90fbb0

プログラマによる、プログラマのための、統計(0)と確率のプログラミングとその後
https://qiita.com/kaizen_nagoya/items/6e9897eb641268766909

官公庁・学校・公的団体（NPOを含む）システムの課題、官（０）
https://qiita.com/kaizen_nagoya/items/04ee6eaf7ec13d3af4c3

「はじめての」シリーズ　 ベクタージャパン　
https://qiita.com/kaizen_nagoya/items/2e41634f6e21a3cf74eb

AUTOSAR(0)Qiita記事一覧, OSEK(75)
https://qiita.com/kaizen_nagoya/items/89c07961b59a8754c869

プログラマが知っていると良い「公序良俗」
https://qiita.com/kaizen_nagoya/items/9fe7c0dfac2fbd77a945

LaTeX(0) 一覧　
https://qiita.com/kaizen_nagoya/items/e3f7dafacab58c499792

自動制御、制御工学一覧（０）
https://qiita.com/kaizen_nagoya/items/7767a4e19a6ae1479e6b

Rust(0) 一覧　
https://qiita.com/kaizen_nagoya/items/5e8bb080ba6ca0281927

小川清最終講義、最終講義（再）計画, Ethernet(100) 英語(100) 安全(100)
https://qiita.com/kaizen_nagoya/items/e2df642e3951e35e6a53

＜この記事は個人の過去の経験に基づく個人の感想です。現在所属する組織、業務とは関係がありません。＞
This article is an individual impression based on the individual's experience. It has nothing to do with the organization or business to which I currently belong.
#### 文書履歴
ver. 0.10 初稿 20180410
ver. 0.11 pipコマンド記録 20180411
ver. 0.12 ありがとう追記　20230413
## 最後までおよみいただきありがとうございました。
いいね　💚、フォローをお願いします。
####  Thank you very much for reading to the last sentence.
Please press the like icon 💚　and follow me for your happy life.