{"width":"100%","published":"2020-08-24 08:30:00","author_url":"https://blog.hatena.ne.jp/kikiki-kiki/","blog_title":"\u304b\u3082\u30e1\u30e2","author_name":"kikiki-kiki","provider_url":"https://hatena.blog","title":"Python zsh \u3067\u4eee\u60f3\u74b0\u5883 venv \u306b\u5165\u308c\u306a\u3044\uff1f\u306b\u30cf\u30de\u308b","provider_name":"Hatena Blog","categories":["Python3","zsh","setup","Tips"],"height":"190","type":"rich","image_url":"https://m.media-amazon.com/images/I/51ys0G3KQPL._SL160_.jpg","version":"1.0","blog_url":"https://chaika.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2020%2F08%2F24%2F083000\" title=\"Python zsh \u3067\u4eee\u60f3\u74b0\u5883 venv \u306b\u5165\u308c\u306a\u3044\uff1f\u306b\u30cf\u30de\u308b - \u304b\u3082\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://chaika.hatenablog.com/entry/2020/08/24/083000","description":"Python \u306e venv \u3067\u4f5c\u6210\u3057\u305f\u4eee\u60f3\u74b0\u5883\u306b\u5165\u308c\u306a\u3044\u554f\u984c\u306b\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2 venv Python v3.3 \u304b\u3089\u6a19\u6e96\u6a5f\u80fd\u3068\u3057\u3066\u53d6\u308a\u5165\u308c\u3089\u308c\u305f\u4eee\u60f3\u74b0\u5883 venv \u5185\u3067\u306f pip \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u4eee\u60f3\u74b0\u5883\u3054\u3068\u5225\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b \u4eee\u60f3\u74b0\u5883\u306e\u4f5c\u6210 $ python -m venv testvenv testvenv \u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4eee\u60f3\u74b0\u5883\u304c\u4f5c\u6210\u3055\u308c\u308b \u4eee\u60f3\u74b0\u5883\u306e\u5b9f\u884c \u4eee\u60f3\u74b0\u5883\u5185\u306e bin/activate \u3092\u5b9f\u884c\u3059\u308b\u3068\u4eee\u60f3\u74b0\u5883\u306b\u5165\u308c\u308b $ source testvenv/bin/activate (testvenv) # \u4eee\u60f3\u74b0\u5883\u304b\u3089\u51fa\u308b (testvenv) deact\u2026"}