Last active
August 3, 2017 13:15
-
-
Save comoc/c7319d86da4ac7c064800c065d27a3e7 to your computer and use it in GitHub Desktop.
NNablaをWindows 10上のPython 3.5環境にインストールする ref: http://qiita.com/comocc/items/b5deb52bf99e5f193494
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\user>pip install nnabla | |
Collecting nnabla | |
Using cached nnabla-0.9.2-cp35-cp35m-win_amd64.whl | |
(中略) | |
copying skimage\_shared\tests\__init__.py -> build\lib.win-amd64-3.5\skimage\_shared\tests | |
running build_ext | |
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils | |
customize MSVCCompiler | |
customize MSVCCompiler using build_ext | |
building 'skimage._shared.geometry' extension | |
compiling C sources | |
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools | |
---------------------------------------- | |
Command "c:\users\user\appdata\local\programs\python\python35\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\user\\AppData\\Local\\Temp\\pip-build-ii84r4r3\\scikit-image\\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\user\AppData\Local\Temp\pip-2lsao591-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-build-ii84r4r3\scikit-image\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\akihi>pip install nnabla | |
Collecting nnabla | |
Using cached nnabla-0.9.2-cp35-cp35m-win_amd64.whl | |
(中略) | |
Successfully built scikit-image | |
Installing collected packages: scikit-image, nnabla | |
Successfully installed nnabla-0.9.2 scikit-image-0.13.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\> python | |
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import nnabla | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\site-packages\nnabla\__init__.py", line 16, in <module> | |
from .logger import logger | |
File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\site-packages\nnabla\logger.py", line 50, in <module> | |
from .config import nnabla_config | |
File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\site-packages\nnabla\config.py", line 87, in <module> | |
nnabla_config = _get_nnabla_config() | |
File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\site-packages\nnabla\config.py", line 71, in _get_nnabla_config | |
from win32com.shell import shell, shellcon | |
ImportError: No module named 'win32com' | |
>>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\user>python | |
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AMD64)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import nnabla | |
2017-08-03 14:56:05,283 [nnabla][INFO]: Initializing CPU extension... | |
>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment