{"id":6961,"date":"2018-07-01T21:34:02","date_gmt":"2018-07-01T12:34:02","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=6961"},"modified":"2018-07-01T21:34:02","modified_gmt":"2018-07-01T12:34:02","slug":"jupyter-notebook-%e3%82%92-windows-7-%e3%81%ab%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=6961","title":{"rendered":"jupyter notebook \u3092 Windows 7 \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u65e2\u306b python 3.6.5 \u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u308b\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3002<\/p>\n<blockquote>\n<pre>\r\npip install jupyter matplotlib\r\n<\/pre>\n<\/blockquote>\n<p><!--more--><\/p>\n<p>\u4f9d\u5b58\u3059\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30c9\u30ab\u30c3\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u2026\u3068\u601d\u3063\u305f\u3089<\/p>\n<blockquote>\n<pre>\r\nException:\r\nTraceback (most recent call last):\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\pip\\compat\\__init__.py\", line 73, in console_to_str\r\n    return s.decode(sys.__stdout__.encoding)\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 3: invalid start byte\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\pip\\basecommand.py\", line 215, in main\r\n    status = self.run(options, args)\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\pip\\commands\\install.py\", line 342, in run\r\n    prefix=options.prefix_path,\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\pip\\req\\req_set.py\", line 784, in install\r\n    **kwargs\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\pip\\req\\req_install.py\", line 878, in install\r\n    spinner=spinner,\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\pip\\utils\\__init__.py\", line 676, in call_subprocess\r\n    line = console_to_str(proc.stdout.readline())\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\pip\\compat\\__init__.py\", line 75, in console_to_str\r\n    return s.decode('utf_8')\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 3: invalid start byte\r\nYou are using pip version 9.0.3, however version 10.0.1 is available.\r\nYou should consider upgrading via the 'python -m pip install --upgrade pip' command.\r\n<\/pre>\n<\/blockquote>\n<p>\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u4e2d\u65ad\u3002<\/p>\n<p>\u3088\u304f\u5206\u304b\u3093\u306a\u3044\u3051\u3069\u3068\u308a\u3042\u3048\u305a pip \u306e\u65b0\u3057\u3044\u306e\u304c\u51fa\u3066\u308b\u3068\u3044\u3046\u8b66\u544a\uff1f\u304c\u51fa\u3066\u308b\u306e\u3067\u305d\u306e\u3088\u3046\u306b\u3057\u305f\u5f8c\u306b\u3082\u3046\u4e00\u5ea6\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u308b\u3068\u6210\u529f\u3057\u305f\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3067\u304d\u305f\u3068\u601d\u3063\u305f\u306e\u3067\u8d77\u52d5\u3057\u3066\u307f\u308b<\/p>\n<blockquote>\n<pre>\r\nC:\\Users\\umezawa>jupyter notebook\r\nTraceback (most recent call last):\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\runpy.py\", line 193, in _run_module_as_main\r\n    \"__main__\", mod_spec)\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\runpy.py\", line 85, in _run_code\r\n    exec(code, run_globals)\r\n  File \"C:\\Users\\umezawa\\AppData\\Local\\Programs\\Python\\Python36-32\\Scripts\\jupyter-notebook.EXE\\__main__.py\", line 5, in <module>\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\notebook\\notebookapp.py\", line 39, in <\/module><module>\r\n    from jinja2 import Environment, FileSystemLoader\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\jinja2\\__init__.py\", line 33, in <\/module><module>\r\n    from jinja2.environment import Environment, Template\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\jinja2\\environment.py\", line 15, in <\/module><module>\r\n    from jinja2 import nodes\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\jinja2\\nodes.py\", line 19, in <\/module><module>\r\n    from jinja2.utils import Markup\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\jinja2\\utils.py\", line 647, in <\/module><module>\r\n    from markupsafe import Markup, escape, soft_unicode\r\n  File \"c:\\users\\umezawa\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\markupsafe\\__init__.py\", line 14, in <\/module><module>\r\n    from markupsafe._compat import text_type, string_types, int_types, \\\r\nModuleNotFoundError: No module named 'markupsafe._compat'\r\n<\/module><\/pre>\n<\/blockquote>\n<p>\u3046\u30fc\u3093\uff1f<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a markupsafe \u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u8d77\u52d5\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\uff08\u3044\u3044\u306e\u304b\u305d\u3093\u306a\u3093\u3067\uff09<\/p>\n<p>jupyter notebook \u3092\u8d77\u52d5\u3059\u308b\u3068\u30d6\u30e9\u30a6\u30b6\u3067\u30da\u30fc\u30b8\u304c\u958b\u304f\u306e\u3067\u3001 new \u3092\u9078\u629e\u3057\u3066\u30dd\u30c1\u30dd\u30c1\u5165\u529b\u3057\u3066\u904a\u3076\u3002 Shift+Enter \u3067\u5b9f\u884c\u3002<\/p>\n<p><a href=\"http:\/\/umezawa.dyndns.info\/wordpress\/wp-content\/uploads\/2018\/07\/jupyter-notebook-test.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/umezawa.dyndns.info\/wordpress\/wp-content\/uploads\/2018\/07\/jupyter-notebook-test.png\" alt=\"\" width=\"540\" height=\"540\" class=\"alignnone size-full wp-image-6962\" \/><\/a><\/p>\n<p>Windows \u3067\u3082\u7279\u306b\u969c\u5bb3\u306a\u304f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u3066\u3059\u3054\u3044\u3067\u3059\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65e2\u306b python 3.6.5 \u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3042\u308b\u306e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3002 pip install jupyter matplotlib<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-6961","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6961"}],"version-history":[{"count":1,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6961\/revisions"}],"predecessor-version":[{"id":6963,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/6961\/revisions\/6963"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6961"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6961"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}