{"id":3350,"date":"2023-04-26T10:50:43","date_gmt":"2023-04-26T01:50:43","guid":{"rendered":"https:\/\/www.dogrow.net\/python\/?p=3350"},"modified":"2025-06-12T10:32:06","modified_gmt":"2025-06-12T01:32:06","slug":"blog118","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/python\/blog118\/","title":{"rendered":"(118) Anaconda\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb (Python 3.10)"},"content":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u306e\u904e\u53bb\u6295\u7a3f <a href=\"https:\/\/www.dogrow.net\/python\/blog47\/\" target=\"_blank\" rel=\"noopener\">(47) matplotlib\u3067\u30b0\u30e9\u30d5\u8868\u793a\u3067\u304d\u306a\u3044 [\u89e3\u6c7a]<\/a> \u306b Anaconda\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u8a18\u3057\u305f\u3002<br \/>\n\u305d\u306e\u6295\u7a3f\u304b\u3089 9\u5e74\u8fd1\u304f\u304c\u7d4c\u904e\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5143\u306e\u30b5\u30a4\u30c8\u306e\u5185\u5bb9\u3082\u5909\u308f\u3063\u3066\u3044\u308b\u3002<\/p>\n<p>\u305d\u3053\u3067&#8230;<br \/>\n\u5f8c\u3067\u540c\u3058\u3053\u3068\u3092\u3084\u308d\u3046\u3068\u601d\u3063\u3066\u8ff7\u308f\u306a\u3044\u3088\u3046\u306b <span class=\"my_fc_deeppinkBBig\">2023\u5e744\u670826\u65e5\u6642\u70b9\u306e\u6700\u65b0\u60c5\u5831<\/span> \u3092\u8a18\u9332\u3057\u3066\u304a\u3053\u3046\u3002<\/p>\n<h1 class=\"my_h\">\u30101\u3011Anaconda\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/h1>\n<h3 class=\"my_h\">(1) \u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/h3>\n<p>Web\u30d6\u30e9\u30a6\u30b6\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308c\u3070\u3088\u3044\u3002<br \/>\n\u203b\u81ea\u5206\u306e\u5b9f\u884c\u74b0\u5883\u306f Intel Xeon 2697, Intel Core i9-9900K\u306a\u306e\u3067 x86\u7528\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p><a href=\"https:\/\/www.anaconda.com\/download\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.anaconda.com\/download\/<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/python\/wp-content\/uploads\/2023\/04\/Image2.jpg\" alt=\"\" class=\"my_add_bs1\" \/><\/a><\/p>\n<p>\u3082\u3057\u304f\u306f\u3001\u30ea\u30f3\u30af\u5148\u304b\u3089 wget\u30b3\u30de\u30f3\u30c9\u3067\u53d6\u5f97\u3057\u3066\u3082\u3088\u3044\u3002<br \/>\n\u203b\u81ea\u5206\u306e\u5b9f\u884c\u74b0\u5883\u306f Intel Xeon 2697, Intel Core i9-9900K\u306a\u306e\u3067 x86\u7528\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>wget https:\/\/repo.anaconda.com\/archive\/Anaconda3-2023.03-1-Linux-x86_64.sh<\/span>\r\n<\/pre>\n<h3 class=\"my_h\">(2) \u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3092\u5b9f\u884c\u3059\u308b\u3002<\/h3>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u5b9f\u884c\u5c5e\u6027\u3092\u4ed8\u4e0e\u3057\u3001\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>chmod +x .\/Anaconda3-2023.03-1-Linux-x86_64.sh<\/span>\r\n$ <span class='my_fc_yellow'>.\/Anaconda3-2023.03-1-Linux-x86_64.sh<\/span>\r\n<\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5148\u3092\u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 <span class='my_fc_blueB'>\/home\/{user}\/anaconda3<\/span> \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089 <span class='my_fc_deeppinkBBig'>conda init<\/span> \u3092\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>~\/anaconda3\/bin\/conda init<\/span>\r\n<\/pre>\n<p>\u3059\u308b\u3068\u3001.bashrc \u306b PATH\u8a2d\u5b9a\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306a\u3069\u304c\u8ffd\u52a0\u3055\u308c\u308b\u3002<br \/>\n \u2192 .bashrc\u3092\u518d\u5b9f\u884c\u3059\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>source ~\/.bashrc<\/span>\r\n<\/pre>\n<p>\u3053\u308c\u3067 ~\/anaconda3\/bin \u3078\u306e\u30d1\u30b9\u304c\u901a\u3063\u305f\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>which python3<\/span>\r\n\/home\/{user}\/anaconda3\/bin\/python3\r\n\r\n$ <span class='my_fc_yellow'>python3<\/span>\r\n\r\nPython 3.10.9 (main, Mar  1 2023, 18:23:06) [GCC 11.2.0] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n&gt;&gt;&gt;\r\n<\/pre>\n<p>\u3082\u3057\u5fc5\u8981\u306a\u3089\u3070\u3001<span class='my_fc_deeppinkBBig'>conda create<\/span>\u3000\u3067 Python\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3082\u826f\u3044\u3002<\/p>\n<h1 class=\"my_h\">\u30102\u3011Anaconda\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u5834\u5408\u306f\u3053\u308c\u3060\u3051<\/h1>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>conda update conda<\/span>\r\n<\/pre>\n<h1 class=\"my_h\">\u30103\u3011Anaconda\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3082\u3088\u3044<\/h1>\n<p>\u8a66\u3057\u306b myPy \u3068\u3044\u3046\u540d\u524d\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>conda create -n myPy<\/span>\r\n<\/pre>\n<p>\u4eca\u4f5c\u3063\u305f\u4eee\u60f3\u74b0\u5883\u3092\u6709\u52b9\u5316\u3059\u308b\u3002<\/p>\n<pre class=\"my_pre_bgBlack\">\r\n$ <span class='my_fc_yellow'>conda activate myPy<\/span>\r\n(myPy)$ \r\n<\/pre>\n<p>\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u4eee\u60f3\u74b0\u5883\u540d\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001\u305d\u3053\u304b\u3089\u5148\u306f\u4eee\u60f3\u74b0\u5883\u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308b\u3002<br \/>\n\u3064\u307e\u308a\u3001pip\u30b3\u30de\u30f3\u30c9\u3067\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5148\u304c myPy\u4eee\u60f3\u74b0\u5883\u306b\u306a\u308b\u3002<\/p>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u30d6\u30ed\u30b0\u306e\u904e\u53bb\u6295\u7a3f (47) matplotlib\u3067\u30b0\u30e9\u30d5\u8868\u793a\u3067\u304d\u306a\u3044 [\u89e3\u6c7a] \u306b Anaconda\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3092\u8a18\u3057\u305f\u3002 \u305d\u306e\u6295\u7a3f\u304b\u3089 9\u5e74\u8fd1\u304f\u304c\u7d4c\u904e\u3057\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5143\u306e\u30b5\u30a4\u30c8\u306e\u5185\u5bb9\u3082\u5909\u308f\u3063\u3066\u3044\u308b\u3002 \u305d\u3053\u3067&#038;#\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/python\/blog118\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[],"class_list":["post-3350","post","type-post","status-publish","format-standard","hentry","category-anaconda"],"views":997,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/posts\/3350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/comments?post=3350"}],"version-history":[{"count":22,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/posts\/3350\/revisions"}],"predecessor-version":[{"id":3841,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/posts\/3350\/revisions\/3841"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/media?parent=3350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/categories?post=3350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/python\/wp-json\/wp\/v2\/tags?post=3350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}