{"id":1402,"date":"2019-08-22T00:56:34","date_gmt":"2019-08-21T15:56:34","guid":{"rendered":"https:\/\/blog.minatoproject.com\/?p=1402"},"modified":"2020-02-07T22:26:57","modified_gmt":"2020-02-07T13:26:57","slug":"%e3%80%90python%e3%80%91conda-install%e3%81%a7pypi%e3%83%91%e3%83%83%e3%82%b1%e3%83%bc%e3%82%b8%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.minatoproject.com\/?p=1402","title":{"rendered":"\u3010Python\u3011conda install\u3067PyPI\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b"},"content":{"rendered":"<div class=\"veu_autoEyeCatchBox\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/08\/20190822_eyecatch-1024x576.png\" class=\"attachment-large size-large wp-post-image\" alt=\"\" srcset=\"https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/08\/20190822_eyecatch-1024x576.png 1024w, https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/08\/20190822_eyecatch-300x169.png 300w, https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/08\/20190822_eyecatch-768x432.png 768w, https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/08\/20190822_eyecatch-320x180.png 320w, https:\/\/blog.minatoproject.com\/wp-content\/uploads\/2019\/08\/20190822_eyecatch.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<p>Windows 10\u306ePython3.7\uff08Anaconda\uff09\u74b0\u5883\u3067 <code>pip install<\/code> \u304c\u307e\u3063\u305f\u304f\u4f7f\u3048\u306a\u3044\u3068\u3044\u3046\u8b0e\u306e\u4e8b\u8c61\uff08\u524d\u306b\u3082\u3042\u3063\u305f\u304b\u3082\uff09\u306b\u51fa\u304f\u308f\u3057\u3066\u3057\u307e\u3044\u3001virtualenv\u3067\u3082\u540c\u3058\u3053\u3068\u304c\u8d77\u3053\u3063\u305f\u306e\u3067\u81f4\u3057\u65b9\u306a\u304fAnaconda\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u3063\u305f\u3068\u3053\u308d\u3067 <code>base58<\/code> \u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u306a\u304b\u306a\u304b\u3069\u3046\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u304f\u3066\u30cf\u30de\u3063\u305f\u306e\u3067\u5099\u5fd8\u9332\u304c\u3066\u3089\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u65b9\u91dd\u3068\u3057\u3066\u306fPyPI\u304b\u3089\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6301\u3063\u3066\u304d\u3066\u81ea\u524d\u3067conda\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30d3\u30eb\u30c9\u3057\u3066\u3057\u307e\u3046\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d3\u30eb\u30c9\u74b0\u5883\u6e96\u5099<\/h2>\n\n\n\n<p>\u7d14\u7c8b\u306bAnaconda\u3092\u5165\u308c\u305f\u3060\u3051\u3067\u306f\u3069\u3046\u3082\u4e0d\u5341\u5206\u306a\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a <code>conda-build<\/code> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-plane\"><code>$ conda install -n root conda-build<\/code><\/pre><\/div>\n\n\n\n<p>\u540c\u69d8\u306b <code>m2-patch<\/code> \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-plane\"><code>$ conda install -n root m2-patch<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d1\u30c3\u30b1\u30fc\u30b8\u4f5c\u6210<\/h2>\n\n\n\n<p>PyPI\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u53d6\u5f97\u3057\u30d3\u30eb\u30c9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-plane\"><code>$ conda skeleton pypi &lt;PACKAGE&gt; --version &lt;VERSION&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u6b63\u5e38\u7d42\u4e86\u3059\u308b\u3068\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u306eYAML\u30d5\u30a1\u30a4\u30eb\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u306f\u8a18\u8f09\u3055\u308c\u308b\u306e\u3067\u3001\u4e0b\u8a18\u30d3\u30eb\u30c9\u6642\u306b\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u6307\u5b9a\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-plane\"><code>$ conda build &lt;PACKAGE&gt;<\/code><\/pre><\/div>\n\n\n\n<p> <code>%USERPROFILE%\\Anaconda3\\conda-bld\\win-64<\/code> \u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u30ed\u30fc\u30ab\u30eb\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-plane\"><code>$ conda install --use-local &lt;PACKAGE&gt;==&lt;VERSION&gt;<\/code><\/pre><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u4ee5\u4e0a\u3001\u3057\u3087\u30fc\u3082\u306a\u3044\u60a9\u307f\u3069\u3053\u308d\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u53c2\u8003URL<\/h2>\n\n\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/qiita.com\/itsumonotakumi\/items\/f0273c2a3a04ef808dbd\" target=\"_blank\" rel=\"external noopener\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=qiita.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">Qiita<\/div><div class=\"lkc-share\"> <div class=\"lkc-sns-hb\">1 User<\/div> <div class=\"lkc-sns-po\">2 Pockets<\/div><\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"\/\/blog.minatoproject.com\/wp-content\/uploads\/pz-linkcard\/cache\/02f4dfc39658231e4aaf63e85060d50c9ac23fde714f079834a2f46db760351c.jpeg\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">PyPI\u30d1\u30c3\u30b1\u30fc\u30b8\u3092Conda\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u65b9\u6cd5 - Qiita<\/div><div class=\"lkc-url\" title=\"https:\/\/qiita.com\/itsumonotakumi\/items\/f0273c2a3a04ef808dbd\">https:\/\/qiita.com\/itsumonotakumi\/items\/f0273c2a3a04ef808dbd<\/div><div class=\"lkc-excerpt\">Conda \u3092\u4f7f\u3063\u3066\u3044\u3066\u3088\u304f\u56f0\u308a\u307e\u3059\u3002\u3057\u304b\u3082\u4ee5\u5916\u3068\u30b0\u30b0\u3063\u3066\u3082\u51fa\u3066\u3053\u306a\u3044\u3002\u3002\u3002\u3053\u3061\u3089\u3067\u7d39\u4ecb\u3059\u308b\u306e\u306f\u3001\u305d\u306e\u89e3\u6c7a\u65b9\u6cd5\u306e\uff11\u3064\u3068\u3057\u3066\u4f7f\u3048\u308b\u65b9\u6cd5\u3067\u3059\u3002# PyPI\u306ePython\u30e2\u30b8\u30e5\u30fc\u30eb\u304b\u3089conda\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u69cb\u7bc9\u3059\u308b```Bash...<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows 10\u306ePython3.7\uff08Anaconda\uff09\u74b0\u5883\u3067 pip install \u304c\u307e\u3063\u305f\u304f\u4f7f\u3048\u306a\u3044\u3068\u3044\u3046\u8b0e\u306e\u4e8b\u8c61\uff08\u524d\u306b\u3082\u3042\u3063\u305f\u304b\u3082\uff09\u306b\u51fa\u304f\u308f\u3057\u3066\u3057\u307e\u3044\u3001virtualenv\u3067\u3082\u540c\u3058\u3053\u3068\u304c\u8d77\u3053\u3063\u305f\u306e\u3067\u81f4\u3057\u65b9\u306a\u304f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1574,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-1402","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/posts\/1402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1402"}],"version-history":[{"count":5,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/posts\/1402\/revisions"}],"predecessor-version":[{"id":1769,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/posts\/1402\/revisions\/1769"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=\/wp\/v2\/media\/1574"}],"wp:attachment":[{"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.minatoproject.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}