• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

OrganicWeb

Mailchimp Training & Consulting

  • Home
  • Services
    • Public Mailchimp Classes
    • Mailchimp Training – Group
    • Mailchimp Training – 1-on-1
    • Mailchimp Consulting
  • Content
    • Blog
    • Mailchimp Tutorials on YouTube
  • Contact & About
    • Contact
    • About

How to Easily Update Python & Anaconda in Windows

This post is more for my own purposes but if you’re reading this I hope it helps 🙂 I’m a very basic Python user and I’ve battled a bit on how to keep Python updated; I use Anaconda plus have various packages installed via pip. Below is the process I use to keep Anaconda and Pip installed packages updated in Microsoft Windows.

Note: the below process will resolve any ‘Consider using the --user option or check the permissions’ error that you may receive.

Time needed: 15 minutes.

Follow the instructions below to update Python Anaconda and pip packages in Windows.

  1. Open Anaconda Powershell Prompt

    Search Windows for ‘Anaconda Powershell Prompt’ and click ‘run as Administrator’.

  2. Update Anaconda

    Enter the following code into the prompt and click enter on your keyboard:
    conda update --all
    Wait for the updates to complete.

  3. Update pip packages

    Enter
    python
    into the prompt and click enter on your keyboard.
    Enter the following code into the prompt and click enter on your keyboard:
    import pkg_resources
    from subprocess import call

    packages = [dist.project_name for dist in pkg_resources.working_set]
    call("pip install --upgrade --user " + ' '.join(packages), shell=True)

    You’ll soon need to click the enter key again and then you will wait awhile for the updates to complete.

Found this useful? Please share:

  • How to Downgrade to scikit-learn Version 0.23.2
  • Find Spelling Variations in Large Datasets
  • How To Add or Edit PDF Properties With Python

Filed Under: General June 2022

Watch Gary in action

Gary frequently adds Mailchimp instructional videos to his YouTube channel. Subscribe to keep updated.

→  Subscribe   ←

Add a survey (and answers) into a Mailchimp email.

Create high-converting buttons in Mailchimp.

Reader Interactions

Leave a ReplyCancel reply

You are here: Home / General / How to Easily Update Python & Anaconda in Windows

Primary Sidebar

Get Mailchimp Class Updates

Get class updates

Mailchimp write about my work

Read on Mailchimp.com

Gary on Australian National Radio

Changes are coming to the Australian Spam Act

Read Gary's article in SmartCompany

Meet Gary, Mailchimp Expert

Gary is a Mailchimp Expert and Partner. He delivers Mailchimp training and consulting services in Australia, New Zealand and Singapore. Gary presents at Mailchimp events and hosts the first, and only, Australian Mailchimp sponsored event. He is M.B.A. qualified from Henley Business School, U.K.

Contact Gary for your Mailchimp needs

Footer

Customer Rating

Get class updates

Mailchimp Pro Partners

Contact

Contact Gary for all your Mailchimp training, consulting and integration needs.

gary@organicweb.com.au
0410923445

Copyright © 2023 · Sitemap · ABN: 40800872179 · Privacy Policy · Terms of Service