{"id":549,"date":"2020-05-25T12:48:51","date_gmt":"2020-05-25T19:48:51","guid":{"rendered":"http:\/\/gantovnik.com\/bio-tips\/?p=549"},"modified":"2020-12-15T05:28:36","modified_gmt":"2020-12-15T13:28:36","slug":"update-all-package-in-conda","status":"publish","type":"post","link":"https:\/\/gantovnik.com\/bio-tips\/2020\/05\/update-all-package-in-conda\/","title":{"rendered":"Update all package in conda"},"content":{"rendered":"<p># list packages that can be updated<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nconda search --outdated\r\n<\/pre>\n<p># update all packages prompted (by asking the user yes\/no)<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nconda update --all\r\n<\/pre>\n<p># update all packages unprompted<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nconda update --all -y\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p># list packages that can be updated conda search &#8211;outdated # update all packages prompted (by asking the user yes\/no) conda update &#8211;all # update all packages unprompted conda update &#8211;all -y<\/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-549","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-8R","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":1099,"url":"https:\/\/gantovnik.com\/bio-tips\/2021\/11\/191-update-spyder-from-v-5-0-5-to-v5-1-5\/","url_meta":{"origin":549,"position":0},"title":"#191 Update Spyder from v.5.0.5 to v5.1.5","author":"gantovnik","date":"2021-11-15","format":false,"excerpt":"Regular instructions to update Spyder don't work in this case because there are some incompatible dependencies between Spyder 5.0.5 and 5.1.5. [code language=\"python\"] conda update anaconda conda install spyder=5.1.5 [\/code] It generates the following error: \"Solving environment: failed with initial frozen solve. Retrying with flexible solve.\" To work around this\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":611,"url":"https:\/\/gantovnik.com\/bio-tips\/2020\/08\/92-batch-bat-file-to-update-anaconda\/","url_meta":{"origin":549,"position":1},"title":"#92 Batch (bat) file to update Anaconda","author":"gantovnik","date":"2020-08-13","format":false,"excerpt":"#92 Batch (bat) file to update Anaconda: [code language=\"python\"] REM file: update_conda.bat set root=C:\\ProgramData\\Anaconda3 call %root%\\Scripts\\activate.bat %root% call conda update --all pause [\/code]","rel":"","context":"In &quot;batch&quot;","block_context":{"text":"batch","link":"https:\/\/gantovnik.com\/bio-tips\/category\/batch\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1548,"url":"https:\/\/gantovnik.com\/bio-tips\/2022\/09\/210-parametric-curve-in-3d-2-2-2-2-2-2-2-2-2-2-2-2-2-3-3-2-2\/","url_meta":{"origin":549,"position":2},"title":"#298 Convert a multi-page PDF into png images","author":"gantovnik","date":"2022-09-04","format":false,"excerpt":"[code language=\"python\"] #conda install -c conda-forge poppler #pip install pdf2image from pdf2image import convert_from_path from pdf2image.exceptions import ( PDFInfoNotInstalledError, PDFPageCountError, PDFSyntaxError ) images = convert_from_path('myfile.pdf') for i, image in enumerate(images): fname = \"image\" + str(i) + \".png\" image.save(fname, \"PNG\") [\/code]","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":1555,"url":"https:\/\/gantovnik.com\/bio-tips\/2022\/09\/210-parametric-curve-in-3d-2-2-2-2-2-2-2-2-2-2-2-2-2-3-3-2-2-3\/","url_meta":{"origin":549,"position":3},"title":"#300 Convert a multi-page PDF into png images","author":"gantovnik","date":"2022-09-13","format":false,"excerpt":"[code language=\"python\"] #conda install -c conda-forge poppler #pip install pdf2image from pdf2image import convert_from_path from pdf2image.exceptions import ( PDFInfoNotInstalledError, PDFPageCountError, PDFSyntaxError ) images = convert_from_path('myfile.pdf') for i, image in enumerate(images): fname = &quot;image&quot; + str(i) + &quot;.png&quot; image.save(fname, &quot;PNG&quot;) [\/code]","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":1863,"url":"https:\/\/gantovnik.com\/bio-tips\/2023\/06\/350-optimization-with-gekko-in-python\/","url_meta":{"origin":549,"position":4},"title":"#350 Optimization with GEKKO in Python","author":"gantovnik","date":"2023-06-27","format":false,"excerpt":"$latex max \\; 2x + 5y$ $latex s.t.$ $latex 5x + 3y \\le 10$ $latex 2x + 7y \\le 9$ [code language=\"python\"] # Modeling language for large-scale linear, quadratic, nonlinear, # and mixed-integer programming. # Supported solvers: APOPT, BPOPT, IPOPT, SNOPT, and MINOS #pip install gekko in conda window from\u2026","rel":"","context":"In &quot;optimization&quot;","block_context":{"text":"optimization","link":"https:\/\/gantovnik.com\/bio-tips\/category\/optimization\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1943,"url":"https:\/\/gantovnik.com\/bio-tips\/2023\/08\/385-scatterplot-matrix-using-seaborn-library\/","url_meta":{"origin":549,"position":5},"title":"#385 Scatterplot matrix using seaborn library","author":"gantovnik","date":"2023-08-13","format":false,"excerpt":"[code language=\"python\"] #Scatterplot matrix using seaborn library import matplotlib.pyplot as plt #conda install -c anaconda seaborn import seaborn as sns sns.set_theme(style=\"ticks\") def main(): df = sns.load_dataset(\"penguins\") sns.pairplot(df, hue=\"species\") plt.savefig(\"ex385.png\", dpi=100) plt.show() if __name__ == '__main__': main() [\/code]","rel":"","context":"In &quot;plot&quot;","block_context":{"text":"plot","link":"https:\/\/gantovnik.com\/bio-tips\/category\/plot\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/08\/ex385.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/08\/ex385.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/08\/ex385.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/08\/ex385.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/gantovnik.com\/bio-tips\/wp-content\/uploads\/2023\/08\/ex385.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/549","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=549"}],"version-history":[{"count":0,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/posts\/549\/revisions"}],"wp:attachment":[{"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/media?parent=549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/categories?post=549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gantovnik.com\/bio-tips\/wp-json\/wp\/v2\/tags?post=549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}