{"id":499,"date":"2020-05-03T22:41:39","date_gmt":"2020-05-04T05:41:39","guid":{"rendered":"http:\/\/gantovnik.com\/bio-tips\/?p=499"},"modified":"2021-10-27T12:11:16","modified_gmt":"2021-10-27T19:11:16","slug":"how-to-update-all-python-packages-in-windows","status":"publish","type":"post","link":"https:\/\/gantovnik.com\/bio-tips\/2020\/05\/how-to-update-all-python-packages-in-windows\/","title":{"rendered":"#73 How to update all python packages in Windows?"},"content":{"rendered":"<p>How to update all python packages in Windows?<\/p>\n<p>1) Open a command shell by typing <code>powershell<\/code> in the Search Box of the Task bar<\/p>\n<p>2) Enter <code>pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to update all python packages in Windows? 1) Open a command shell by typing powershell in the Search Box of the Task bar 2) Enter pip freeze | %{$_.split(&#8216;==&#8217;)[0]} | %{pip install &#8211;upgrade $_}<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_lmt_disableupdate":"yes","_lmt_disable":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-499","post","type-post","status-publish","format-standard","hentry","category-python"],"modified_by":"gantovnik","jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8bH0k-83","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1000,"url":"https:\/\/gantovnik.com\/bio-tips\/2021\/10\/179-upgrade-all-packages-in-python-using-powershell\/","url_meta":{"origin":499,"position":0},"title":"#179 Upgrade all packages in Python using PowerShell","author":"gantovnik","date":"2021-10-11","format":false,"excerpt":"#179 Upgrade all packages in Python using PowerShell Create update_python.bat file Create update_python.ps1 file","rel":"","context":"In &quot;powershell&quot;","block_context":{"text":"powershell","link":"https:\/\/gantovnik.com\/bio-tips\/category\/powershell\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10707,"url":"https:\/\/gantovnik.com\/bio-tips\/2026\/01\/466-interesting-python-links\/","url_meta":{"origin":499,"position":1},"title":"#466 Interesting Python Links","author":"gantovnik","date":"2026-01-02","format":false,"excerpt":"GitHub - kirang89\/pycrumbs: Bits and bytes of Python from the Internet GitHub - vinta\/awesome-python: An opinionated list of awesome Python frameworks, libraries, software and resources. GitHub - svaksha\/pythonidae: Curated decibans of scientific programming resources in Python. \u00a0 python\u0417.9 -m venv vg1 . vg1\/bin\/activate which python deactivate which python pip install\u2026","rel":"","context":"In &quot;python&quot;","block_context":{"text":"python","link":"https:\/\/gantovnik.com\/bio-tips\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1875,"url":"https:\/\/gantovnik.com\/bio-tips\/2023\/06\/354-animation-in-python\/","url_meta":{"origin":499,"position":2},"title":"#354 Animation in python","author":"gantovnik","date":"2023-06-30","format":false,"excerpt":"","rel":"","context":"In &quot;animation&quot;","block_context":{"text":"animation","link":"https:\/\/gantovnik.com\/bio-tips\/category\/animation\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/06\/ex354.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/06\/ex354.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/06\/ex354.gif?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1880,"url":"https:\/\/gantovnik.com\/bio-tips\/2023\/07\/356-animation-of-plot-legend-using-python\/","url_meta":{"origin":499,"position":3},"title":"#356 Animation of plot legend using python","author":"gantovnik","date":"2023-07-01","format":false,"excerpt":"","rel":"","context":"In &quot;animation&quot;","block_context":{"text":"animation","link":"https:\/\/gantovnik.com\/bio-tips\/category\/animation\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/07\/ex356.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/07\/ex356.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/07\/ex356.gif?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":549,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/05\/update-all-package-in-conda\/","url_meta":{"origin":499,"position":4},"title":"Update all package in conda","author":"gantovnik","date":"2020-05-25","format":false,"excerpt":"# list packages that can be updated # update all packages prompted (by asking the user yes\/no) # update all packages unprompted","rel":"","context":"In &quot;python&quot;","block_context":{"text":"python","link":"https:\/\/gantovnik.com\/bio-tips\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1877,"url":"https:\/\/gantovnik.com\/bio-tips\/2023\/07\/355-animation-of-domain-coloring-using-python\/","url_meta":{"origin":499,"position":5},"title":"#355 Animation of domain coloring using python","author":"gantovnik","date":"2023-07-01","format":false,"excerpt":"","rel":"","context":"In &quot;animation&quot;","block_context":{"text":"animation","link":"https:\/\/gantovnik.com\/bio-tips\/category\/animation\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/07\/ex355.gif?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/07\/ex355.gif?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/07\/ex355.gif?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/comments?post=499"}],"version-history":[{"count":0,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/499\/revisions"}],"wp:attachment":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/media?parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/categories?post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/tags?post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}